diff options
author | nandika | 2012-12-27 06:45:26 +0000 |
---|---|---|
committer | nandika | 2012-12-27 06:45:26 +0000 |
commit | 72ad8a6736998e2e1a054f9a34a90bf42a2b2ffe (patch) | |
tree | 41e2ca4dfbdb9a06a2b8a674c7cce979903d8ce0 /src/core/transport | |
parent | 54c61f3869a02f452b9295427cf77edbdee6b710 (diff) | |
download | axis2c-72ad8a6736998e2e1a054f9a34a90bf42a2b2ffe.tar.gz axis2c-72ad8a6736998e2e1a054f9a34a90bf42a2b2ffe.tar.bz2 |
Fixed warnings with -Werror
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@1426130 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/core/transport')
-rw-r--r-- | src/core/transport/http/util/http_transport_utils.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/core/transport/http/util/http_transport_utils.c b/src/core/transport/http/util/http_transport_utils.c index 903b13b..c436da8 100644 --- a/src/core/transport/http/util/http_transport_utils.c +++ b/src/core/transport/http/util/http_transport_utils.c @@ -2395,7 +2395,7 @@ axis2_http_transport_utils_handle_media_type_url_encoded( { 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_type_url_encoded( { 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_request( { 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_request( { 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)) |