summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar nandika2012-12-26 18:38:37 +0000
committerGravatar nandika2012-12-26 18:38:37 +0000
commit92dc944f48ce6fc4235dc8f244bd686f686fed2b (patch)
tree4566a0420fe62578405c9bb26c7dd7a6de2d0c07
parentb3a7d99b8f2d072d3d010294568788b192a132fe (diff)
downloadaxis2c-92dc944f48ce6fc4235dc8f244bd686f686fed2b.tar.gz
axis2c-92dc944f48ce6fc4235dc8f244bd686f686fed2b.tar.bz2
unused variables commented to fix -Werror warnings
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@1425989 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/core/deployment/svc_builder.c25
1 files changed, 15 insertions, 10 deletions
diff --git a/src/core/deployment/svc_builder.c b/src/core/deployment/svc_builder.c
index 7f55fb6..f851f17 100644
--- a/src/core/deployment/svc_builder.c
+++ b/src/core/deployment/svc_builder.c
@@ -163,13 +163,13 @@ axis2_svc_builder_populate_svc(
axiom_node_t *desc_node = NULL;
axiom_children_qname_iterator_t *module_refs = NULL;
axiom_node_t *in_flow_node = NULL;
- axiom_element_t *in_flow_element = NULL;
+ /*axiom_element_t *in_flow_element = NULL; */
axiom_node_t *out_flow_node = NULL;
- axiom_element_t *out_flow_element = NULL;
+ /*axiom_element_t *out_flow_element = NULL; */
axiom_node_t *in_faultflow_node = NULL;
- axiom_element_t *in_faultflow_element = NULL;
+ /*axiom_element_t *in_faultflow_element = NULL; */
axiom_node_t *out_faultflow_node = NULL;
- axiom_element_t *out_faultflow_element = NULL;
+ /*axiom_element_t *out_faultflow_element = NULL; */
axiom_attribute_t *name_attr = NULL;
axutil_array_list_t *ops = NULL;
axis2_char_t *svc_name = NULL;
@@ -230,11 +230,12 @@ axis2_svc_builder_populate_svc(
qdesc = NULL;
if(desc_element)
{
- axiom_element_t *desc_value_element = NULL;
+ /*axiom_element_t *desc_value_element = NULL; */
axiom_node_t *desc_value_node = NULL;
axis2_char_t *description_text = NULL;
- desc_value_element = axiom_element_get_first_element(desc_element, env, desc_node,
+ /*desc_value_element = */
+ axiom_element_get_first_element(desc_element, env, desc_node,
&desc_value_node);
description_text = axiom_element_get_text(desc_element, env, desc_node);
if(description_text)
@@ -349,25 +350,29 @@ axis2_svc_builder_populate_svc(
/* process IN_FLOW */
qinflowst = axutil_qname_create(env, AXIS2_IN_FLOW_START, NULL, NULL);
- in_flow_element = axiom_element_get_first_child_with_qname(
+ /*in_flow_element = */
+ axiom_element_get_first_child_with_qname(
svc_element, env, qinflowst, svc_node, &in_flow_node);
axutil_qname_free(qinflowst, env);
qinflowst = NULL;
qoutflowst = axutil_qname_create(env, AXIS2_OUT_FLOW_START, NULL, NULL);
- out_flow_element = axiom_element_get_first_child_with_qname(
+ /*out_flow_element = */
+ axiom_element_get_first_child_with_qname(
svc_element, env, qoutflowst, svc_node, &out_flow_node);
axutil_qname_free(qoutflowst, env);
qoutflowst = NULL;
qin_faultflowst = axutil_qname_create(env, AXIS2_IN_FAILTFLOW, NULL, NULL);
- in_faultflow_element = axiom_element_get_first_child_with_qname(
+ /*in_faultflow_element = */
+ axiom_element_get_first_child_with_qname(
svc_element, env, qin_faultflowst, svc_node, &in_faultflow_node);
axutil_qname_free(qin_faultflowst, env);
qin_faultflowst = NULL;
qout_faultflowst = axutil_qname_create(env, AXIS2_OUT_FAILTFLOW, NULL, NULL);
- out_faultflow_element = axiom_element_get_first_child_with_qname(
+ /*out_faultflow_element = */
+ axiom_element_get_first_child_with_qname(
svc_element, env, qout_faultflowst, svc_node, &out_faultflow_node);
axutil_qname_free(qout_faultflowst, env);
qout_faultflowst = NULL;