summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorGravatar nandika2012-12-27 08:18:21 +0000
committerGravatar nandika2012-12-27 08:18:21 +0000
commit15f35b386f7d186cca0d435d254a1e7f21bee670 (patch)
treeae8c8edf10fec2415d222826de752c0760159f84 /src/core
parent134d1f7bd236dc88eed67b0f9335bf5dfdd11103 (diff)
downloadaxis2c-15f35b386f7d186cca0d435d254a1e7f21bee670.tar.gz
axis2c-15f35b386f7d186cca0d435d254a1e7f21bee670.tar.bz2
Fixed warnings with -Werror
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@1426145 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/core')
-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;