You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-commits@axis.apache.org by na...@apache.org on 2012/12/26 19:30:55 UTC
svn commit: r1425981 - in /axis/axis2/c/core/trunk/src/core/engine: conf.c
rest_disp.c
Author: nandika
Date: Wed Dec 26 18:30:55 2012
New Revision: 1425981
URL: http://svn.apache.org/viewvc?rev=1425981&view=rev
Log:
unused variables commented to fix warings with -Werror
Modified:
axis/axis2/c/core/trunk/src/core/engine/conf.c
axis/axis2/c/core/trunk/src/core/engine/rest_disp.c
Modified: axis/axis2/c/core/trunk/src/core/engine/conf.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/src/core/engine/conf.c?rev=1425981&r1=1425980&r2=1425981&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/src/core/engine/conf.c (original)
+++ axis/axis2/c/core/trunk/src/core/engine/conf.c Wed Dec 26 18:30:55 2012
@@ -1426,7 +1426,7 @@ axis2_conf_engage_module(
axutil_param_t *module_dir_param = NULL;
axis2_char_t *module_dir = NULL;
axis2_bool_t flag;
- axis2_char_t *axis2_xml = NULL;
+ /*axis2_char_t *axis2_xml = NULL;*/
file_name = axutil_qname_get_localpart(module_ref, env);
file = (axutil_file_t *)axis2_arch_reader_create_module_arch(env, file_name);
@@ -1450,7 +1450,7 @@ axis2_conf_engage_module(
/**
* This case is to obtain module path from the axis2.xml
*/
- axis2_xml = (axis2_char_t *)axis2_conf_get_axis2_xml(conf, env);
+ /* axis2_xml = (axis2_char_t *)axis2_conf_get_axis2_xml(conf, env);*/
module_dir_param = axis2_conf_get_param(conf, env, AXIS2_MODULE_DIR);
if(module_dir_param)
@@ -1878,12 +1878,12 @@ axis2_conf_disengage_module(
{
axis2_svc_t *svc = NULL;
void *v = NULL;
- const axis2_char_t *svc_name = NULL;
+ /*const axis2_char_t *svc_name = NULL; */
axutil_hash_this(index, NULL, NULL, &v);
svc = (axis2_svc_t *)v;
if(svc)
{
- svc_name = axis2_svc_get_name(svc, env);
+ /*svc_name = axis2_svc_get_name(svc, env); */
axis2_svc_disengage_module(svc, env, module_desc,(axis2_conf_t*) conf);
}
}
Modified: axis/axis2/c/core/trunk/src/core/engine/rest_disp.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/src/core/engine/rest_disp.c?rev=1425981&r1=1425980&r2=1425981&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/src/core/engine/rest_disp.c (original)
+++ axis/axis2/c/core/trunk/src/core/engine/rest_disp.c Wed Dec 26 18:30:55 2012
@@ -160,7 +160,7 @@ axis2_rest_disp_find_op(
axis2_op_t *op = NULL;
axiom_soap_envelope_t *soap_env = NULL;
axiom_soap_body_t *soap_body = NULL;
- axiom_element_t *body_child = NULL;
+ /*axiom_element_t *body_child = NULL; */
axiom_node_t *body_child_node = NULL;
axiom_node_t *body_element_node = NULL;
axis2_bool_t soap_env_exists = AXIS2_TRUE;
@@ -299,7 +299,8 @@ axis2_rest_disp_find_op(
if(!body_child_node)
{
- body_child = axiom_element_create_with_qname(env, NULL, axis2_op_get_qname(op, env),
+ /*body_child = */
+ axiom_element_create_with_qname(env, NULL, axis2_op_get_qname(op, env),
&body_child_node);
axiom_soap_body_add_child(soap_body, env, body_child_node);
}