From f6cbe9b6a3e2e1e2f3614ba34b1d334d2ad9f40c Mon Sep 17 00:00:00 2001 From: nandika Date: Wed, 26 Dec 2012 18:33:51 +0000 Subject: commented unused variables to fix -Werror warnings git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@1425984 13f79535-47bb-0310-9956-ffa450edef68 --- src/core/description/op.c | 4 ++-- src/core/description/svc_grp.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/description/op.c b/src/core/description/op.c index e6c123f..900473c 100644 --- a/src/core/description/op.c +++ b/src/core/description/op.c @@ -659,7 +659,7 @@ axis2_op_engage_module( pr = axis2_phase_resolver_create_with_config(env, conf); if(pr) { - axis2_module_t *module = NULL; + /* axis2_module_t *module = NULL; */ axis2_status_t status = AXIS2_FAILURE; status = axis2_phase_resolver_engage_module_to_op(pr, env, op, moduleref); @@ -670,7 +670,7 @@ axis2_op_engage_module( AXIS2_LOG_INFO(env->log, AXIS2_LOG_SI, "Engaging module %s to operaion %s failed. But ignore this.", modname, opname); } - module = axis2_module_desc_get_module(moduleref, env); + /* module = axis2_module_desc_get_module(moduleref, env); */ axutil_array_list_add(collection_module, env, moduleref); } diff --git a/src/core/description/svc_grp.c b/src/core/description/svc_grp.c index 074444a..8879055 100644 --- a/src/core/description/svc_grp.c +++ b/src/core/description/svc_grp.c @@ -281,12 +281,12 @@ axis2_svc_grp_remove_svc( const axutil_env_t * env, const axutil_qname_t * svc_qname) { - axis2_svc_t *svc = NULL; + /* axis2_svc_t *svc = NULL; */ axis2_char_t *svc_name = NULL; AXIS2_PARAM_CHECK(env->error, svc_name, AXIS2_FAILURE); - svc = axis2_svc_grp_get_svc(svc_grp, env, svc_qname); + /* svc = axis2_svc_grp_get_svc(svc_grp, env, svc_qname); */ svc_name = axutil_qname_to_string((axutil_qname_t *)svc_qname, env); axutil_hash_set(svc_grp->svcs, svc_name, AXIS2_HASH_KEY_STRING, NULL); -- cgit v1.1-32-gdbae