From 0fbd74d57277a21dcb4214821abadf67bd594da0 Mon Sep 17 00:00:00 2001 From: nandika Date: Thu, 18 Feb 2010 18:08:10 +0000 Subject: git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@911504 13f79535-47bb-0310-9956-ffa450edef68 --- src/core/description/op.c | 7 +------ 1 file changed, 1 insertion(+), 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 { -- cgit v1.1-32-gdbae