Fixed warnings with -Werror
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 @@
     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;