diff options
author | nandika | 2012-12-26 18:30:55 +0000 |
---|---|---|
committer | nandika | 2012-12-26 18:30:55 +0000 |
commit | 8b0866fa5d445cb852c463ca0b5b7702232464c8 (patch) | |
tree | c06816e1052637ac031a225089caac40a34beca8 | |
parent | 01b970dc30d1839cb59fc39c48593cd536aea361 (diff) | |
download | axis2c-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
-rw-r--r-- | src/core/engine/conf.c | 8 | ||||
-rw-r--r-- | src/core/engine/rest_disp.c | 5 |
2 files changed, 7 insertions, 6 deletions
diff --git a/src/core/engine/conf.c b/src/core/engine/conf.c index a59c79d..151c2e8 100644 --- a/src/core/engine/conf.c +++ b/src/core/engine/conf.c @@ -1426,7 +1426,7 @@ axis2_conf_engage_module( axutil_param_t *module_dir_param = NULL;
axis2_char_t *module_dir = NULL;
axis2_bool_t flag;
- axis2_char_t *axis2_xml = NULL;
+ /*axis2_char_t *axis2_xml = NULL;*/
file_name = axutil_qname_get_localpart(module_ref, env);
file = (axutil_file_t *)axis2_arch_reader_create_module_arch(env, file_name);
@@ -1450,7 +1450,7 @@ axis2_conf_engage_module( /**
* This case is to obtain module path from the axis2.xml
*/
- axis2_xml = (axis2_char_t *)axis2_conf_get_axis2_xml(conf, env);
+ /* axis2_xml = (axis2_char_t *)axis2_conf_get_axis2_xml(conf, env);*/
module_dir_param = axis2_conf_get_param(conf, env, AXIS2_MODULE_DIR);
if(module_dir_param)
@@ -1878,12 +1878,12 @@ axis2_conf_disengage_module( {
axis2_svc_t *svc = NULL;
void *v = NULL;
- const axis2_char_t *svc_name = NULL;
+ /*const axis2_char_t *svc_name = NULL; */
axutil_hash_this(index, NULL, NULL, &v);
svc = (axis2_svc_t *)v;
if(svc)
{
- svc_name = axis2_svc_get_name(svc, env);
+ /*svc_name = axis2_svc_get_name(svc, env); */
axis2_svc_disengage_module(svc, env, module_desc,(axis2_conf_t*) conf);
}
}
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); } |