axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r388481 - /webservices/axis2/trunk/c/modules/core/util/core_utils.c
Date Fri, 24 Mar 2006 10:17:32 GMT
Author: samisa
Date: Fri Mar 24 02:17:29 2006
New Revision: 388481

URL: http://svn.apache.org/viewcvs?rev=388481&view=rev
Log:
fixed warnings

Modified:
    webservices/axis2/trunk/c/modules/core/util/core_utils.c

Modified: webservices/axis2/trunk/c/modules/core/util/core_utils.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/util/core_utils.c?rev=388481&r1=388480&r2=388481&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/util/core_utils.c (original)
+++ webservices/axis2/trunk/c/modules/core/util/core_utils.c Fri Mar 24 02:17:29 2006
@@ -153,27 +153,9 @@
 axis2_core_utils_reset_out_msg_ctx(axis2_env_t **env,
                                 axis2_msg_ctx_t *out_msg_ctx)
 {
-    axis2_conf_ctx_t *conf_ctx = NULL;
-    axis2_transport_in_desc_t *transport_in = NULL;
-    axis2_transport_out_desc_t *transport_out = NULL;
-    axis2_msg_info_headers_t *old_msg_info_headers = NULL;
     axis2_msg_info_headers_t *msg_info_headers = NULL;
-    axis2_endpoint_ref_t *reply_to = NULL;
-    axis2_endpoint_ref_t *fault_to = NULL;
-    axis2_endpoint_ref_t *to = NULL;
-    axis2_char_t *msg_id = NULL;
-    axis2_relates_to_t *relates_to = NULL;
-    axis2_char_t *action = NULL;
-    axis2_op_ctx_t *op_ctx = NULL;
-    axis2_svc_ctx_t *svc_ctx = NULL;
-    axis2_bool_t doing_rest = AXIS2_FALSE;
-    axis2_bool_t doing_mtom = AXIS2_FALSE;
-    axis2_bool_t server_side = AXIS2_FALSE;
-    axis2_svc_grp_ctx_t *svc_grp_ctx = NULL;
-    axis2_property_t *property = NULL;
-    axis2_char_t *msg_uuid = NULL;
-    
-    AXIS2_PARAM_CHECK((*env)->error, out_msg_ctx, NULL);
+    if (!out_msg_ctx)
+        return;
     
     msg_info_headers = AXIS2_MSG_CTX_GET_MSG_INFO_HEADERS(out_msg_ctx, env);
     if(msg_info_headers)
@@ -192,7 +174,7 @@
     AXIS2_MSG_CTX_SET_PROPERTY(out_msg_ctx, env, AXIS2_CHARACTER_SET_ENCODING, 
             NULL, AXIS2_FALSE);
             
-    AXIS2_MSG_CTX_SET_SVC_GRP_CTX(out_msg_ctx, env, svc_grp_ctx);
+    AXIS2_MSG_CTX_SET_SVC_GRP_CTX(out_msg_ctx, env, NULL);
     
     return;
 }



Mime
View raw message