summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorGravatar nandika2010-02-18 18:08:10 +0000
committerGravatar nandika2010-02-18 18:08:10 +0000
commit0fbd74d57277a21dcb4214821abadf67bd594da0 (patch)
tree233c3107750684659b3b5764fe1aa2cd7049d253 /src/core
parent46f3c978c44608790a92ea94325d2544d2f9351b (diff)
downloadaxis2c-0fbd74d57277a21dcb4214821abadf67bd594da0.tar.gz
axis2c-0fbd74d57277a21dcb4214821abadf67bd594da0.tar.bz2
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@911504 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/core')
-rw-r--r--src/core/description/op.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/core/description/op.c b/src/core/description/op.c
index 99b98df..8075937 100644
--- a/src/core/description/op.c
+++ b/src/core/description/op.c
@@ -620,7 +620,6 @@ axis2_op_engage_module(
axutil_array_list_t *collection_module = NULL;
axis2_module_desc_t *module_desc = NULL;
axis2_phase_resolver_t *pr = NULL;
- axis2_bool_t need_to_add = AXIS2_FALSE;
axis2_char_t *opname = NULL;
axis2_char_t *modname = NULL;
@@ -653,7 +652,6 @@ axis2_op_engage_module(
AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Module %s already engaged to operation %s",
modname, opname);
- need_to_add = AXIS2_FALSE;
return AXIS2_FAILURE;
}
@@ -674,10 +672,7 @@ axis2_op_engage_module(
}
module = axis2_module_desc_get_module(moduleref, env);
- if(need_to_add)
- {
- axutil_array_list_add(collection_module, env, moduleref);
- }
+ axutil_array_list_add(collection_module, env, moduleref);
}
else
{