summaryrefslogtreecommitdiffstats
path: root/src/core/description
diff options
context:
space:
mode:
authorGravatar nandika2012-12-26 18:33:51 +0000
committerGravatar nandika2012-12-26 18:33:51 +0000
commitf6cbe9b6a3e2e1e2f3614ba34b1d334d2ad9f40c (patch)
treeab11426d948dcf4c0961941901419606d0bd8a99 /src/core/description
parenta5ceb25e21bb45586bb07b5fac7755f365df5154 (diff)
downloadaxis2c-f6cbe9b6a3e2e1e2f3614ba34b1d334d2ad9f40c.tar.gz
axis2c-f6cbe9b6a3e2e1e2f3614ba34b1d334d2ad9f40c.tar.bz2
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
Diffstat (limited to 'src/core/description')
-rw-r--r--src/core/description/op.c4
-rw-r--r--src/core/description/svc_grp.c4
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);