axis-c-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nand...@apache.org
Subject svn commit: r1426130 - /axis/axis2/c/core/trunk/src/core/transport/http/util/http_transport_utils.c
Date Thu, 27 Dec 2012 06:45:26 GMT
Author: nandika
Date: Thu Dec 27 06:45:26 2012
New Revision: 1426130

URL: http://svn.apache.org/viewvc?rev=1426130&view=rev
Log:
Fixed warnings with -Werror

Modified:
    axis/axis2/c/core/trunk/src/core/transport/http/util/http_transport_utils.c

Modified: axis/axis2/c/core/trunk/src/core/transport/http/util/http_transport_utils.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/src/core/transport/http/util/http_transport_utils.c?rev=1426130&r1=1426129&r2=1426130&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/src/core/transport/http/util/http_transport_utils.c (original)
+++ axis/axis2/c/core/trunk/src/core/transport/http/util/http_transport_utils.c Thu Dec 27
06:45:26 2012
@@ -2395,7 +2395,7 @@ axis2_http_transport_utils_handle_media_
 {
     axiom_soap_envelope_t *soap_env = NULL;
     axiom_soap_body_t *soap_body = NULL;
-    axiom_element_t *body_child = NULL;
+    /*axiom_element_t *body_child = NULL; */
     axiom_node_t *body_child_node = NULL;
     axiom_node_t *body_element_node = NULL;
 
@@ -2428,7 +2428,8 @@ axis2_http_transport_utils_handle_media_
         {
             return NULL;
         }
-        body_child = axiom_element_create_with_qname(env, NULL, axis2_op_get_qname(
+        /*body_child = */
+        axiom_element_create_with_qname(env, NULL, axis2_op_get_qname(
             axis2_msg_ctx_get_op(msg_ctx, env), env), &body_child_node);
         axiom_soap_body_add_child(soap_body, env, body_child_node);
     }
@@ -3095,12 +3096,12 @@ axis2_http_transport_utils_process_reque
             {
                 if (out_msg_ctx)
                 {
-                    int size = 0;
+                    /*int size = 0; */
                     axutil_array_list_t *output_header_list = NULL;
                     output_header_list = axis2_msg_ctx_get_http_output_headers(out_msg_ctx,
env);
                     if (output_header_list)
                     {
-                        size = axutil_array_list_size(output_header_list, env);
+                        /*size = axutil_array_list_size(output_header_list, env); */
                         response->output_headers = output_header_list;
                     }
 
@@ -3131,12 +3132,12 @@ axis2_http_transport_utils_process_reque
             {
                 if (out_msg_ctx)
                 {
-                    int size = 0;
+                    /*int size = 0; */
                     axutil_array_list_t *output_header_list = NULL;
                     output_header_list = axis2_msg_ctx_get_http_output_headers(out_msg_ctx,
env);
                     if (output_header_list)
                     {
-                        size = axutil_array_list_size(output_header_list, env);
+                        /*size = axutil_array_list_size(output_header_list, env);*/
                         response->output_headers = output_header_list;
                     }
                     if (axis2_msg_ctx_get_no_content(out_msg_ctx, env))



Mime
View raw message