summaryrefslogtreecommitdiffstats
path: root/src/core/deployment
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/deployment')
-rw-r--r--src/core/deployment/repos_listener.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/deployment/repos_listener.c b/src/core/deployment/repos_listener.c
index 1a7d790..79bdbd4 100644
--- a/src/core/deployment/repos_listener.c
+++ b/src/core/deployment/repos_listener.c
@@ -324,9 +324,8 @@ axis2_repos_listener_search(
current_info_list = axutil_dir_handler_list_service_or_module_dirs(env, folder_name);
if(!current_info_list)
{
- axis2_status_t status_code = AXIS2_FAILURE;
- status_code = AXIS2_ERROR_GET_STATUS_CODE(env->error);
+ status = AXIS2_ERROR_GET_STATUS_CODE(env->error);
if(AXIS2_SUCCESS != status)
{
return status;