axis-c-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nand...@apache.org
Subject svn commit: r1425984 - in /axis/axis2/c/core/trunk/src/core/description: op.c svc_grp.c
Date Wed, 26 Dec 2012 18:33:52 GMT
Author: nandika
Date: Wed Dec 26 18:33:51 2012
New Revision: 1425984

URL: http://svn.apache.org/viewvc?rev=1425984&view=rev
Log:
commented unused variables to fix -Werror warnings

Modified:
    axis/axis2/c/core/trunk/src/core/description/op.c
    axis/axis2/c/core/trunk/src/core/description/svc_grp.c

Modified: axis/axis2/c/core/trunk/src/core/description/op.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/src/core/description/op.c?rev=1425984&r1=1425983&r2=1425984&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/src/core/description/op.c (original)
+++ axis/axis2/c/core/trunk/src/core/description/op.c Wed Dec 26 18:33:51 2012
@@ -659,7 +659,7 @@ axis2_op_engage_module(
     pr = axis2_phase_resolver_create_with_config(env, conf);
     if(pr)
     {
-        axis2_module_t *module = NULL;
+        /* axis2_module_t *module = NULL; */
         axis2_status_t status = AXIS2_FAILURE;
 
         status = axis2_phase_resolver_engage_module_to_op(pr, env, op, moduleref);
@@ -670,7 +670,7 @@ axis2_op_engage_module(
             AXIS2_LOG_INFO(env->log, AXIS2_LOG_SI,
                 "Engaging module %s to operaion %s failed. But ignore this.", modname, opname);
         }
-        module = axis2_module_desc_get_module(moduleref, env);
+        /* module = axis2_module_desc_get_module(moduleref, env); */
 
         axutil_array_list_add(collection_module, env, moduleref);
     }

Modified: axis/axis2/c/core/trunk/src/core/description/svc_grp.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/src/core/description/svc_grp.c?rev=1425984&r1=1425983&r2=1425984&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/src/core/description/svc_grp.c (original)
+++ axis/axis2/c/core/trunk/src/core/description/svc_grp.c Wed Dec 26 18:33:51 2012
@@ -281,12 +281,12 @@ axis2_svc_grp_remove_svc(
     const axutil_env_t * env,
     const axutil_qname_t * svc_qname)
 {
-    axis2_svc_t *svc = NULL;
+    /* axis2_svc_t *svc = NULL; */
     axis2_char_t *svc_name = NULL;
 
     AXIS2_PARAM_CHECK(env->error, svc_name, AXIS2_FAILURE);
 
-    svc = axis2_svc_grp_get_svc(svc_grp, env, svc_qname);
+    /* svc = axis2_svc_grp_get_svc(svc_grp, env, svc_qname); */
 
     svc_name = axutil_qname_to_string((axutil_qname_t *)svc_qname, env);
     axutil_hash_set(svc_grp->svcs, svc_name, AXIS2_HASH_KEY_STRING, NULL);



Mime
View raw message