summaryrefslogtreecommitdiffstats
path: root/src/core/engine/rest_disp.c
diff options
context:
space:
mode:
authorGravatar nandika2012-12-26 18:30:55 +0000
committerGravatar nandika2012-12-26 18:30:55 +0000
commit8b0866fa5d445cb852c463ca0b5b7702232464c8 (patch)
treec06816e1052637ac031a225089caac40a34beca8 /src/core/engine/rest_disp.c
parent01b970dc30d1839cb59fc39c48593cd536aea361 (diff)
downloadaxis2c-8b0866fa5d445cb852c463ca0b5b7702232464c8.tar.gz
axis2c-8b0866fa5d445cb852c463ca0b5b7702232464c8.tar.bz2
unused variables commented to fix warings with -Werror
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@1425981 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/core/engine/rest_disp.c')
-rw-r--r--src/core/engine/rest_disp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/engine/rest_disp.c b/src/core/engine/rest_disp.c
index 4782568..a979723 100644
--- a/src/core/engine/rest_disp.c
+++ b/src/core/engine/rest_disp.c
@@ -160,7 +160,7 @@ axis2_rest_disp_find_op(
axis2_op_t *op = NULL;
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;
axis2_bool_t soap_env_exists = AXIS2_TRUE;
@@ -299,7 +299,8 @@ axis2_rest_disp_find_op(
if(!body_child_node)
{
- body_child = axiom_element_create_with_qname(env, NULL, axis2_op_get_qname(op, env),
+ /*body_child = */
+ axiom_element_create_with_qname(env, NULL, axis2_op_get_qname(op, env),
&body_child_node);
axiom_soap_body_add_child(soap_body, env, body_child_node);
}