axis-c-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nand...@apache.org
Subject svn commit: r1426444 - /axis/axis2/c/core/trunk/src/modules/mod_addr/addr_out_handler.c
Date Fri, 28 Dec 2012 09:41:05 GMT
Author: nandika
Date: Fri Dec 28 09:41:05 2012
New Revision: 1426444

URL: http://svn.apache.org/viewvc?rev=1426444&view=rev
Log:
Fixed warnings with -Werror

Modified:
    axis/axis2/c/core/trunk/src/modules/mod_addr/addr_out_handler.c

Modified: axis/axis2/c/core/trunk/src/modules/mod_addr/addr_out_handler.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/src/modules/mod_addr/addr_out_handler.c?rev=1426444&r1=1426443&r2=1426444&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/src/modules/mod_addr/addr_out_handler.c (original)
+++ axis/axis2/c/core/trunk/src/modules/mod_addr/addr_out_handler.c Fri Dec 28 09:41:05 2012
@@ -606,7 +606,7 @@ axis2_addr_out_handler_add_to_soap_heade
     axutil_array_list_t *meta_data_list = NULL;
     axutil_array_list_t *extension_list = NULL;
     axiom_node_t *header_block_node = NULL;
-    axiom_node_t *header_node = NULL;
+    /*axiom_node_t *header_node = NULL; */
     axiom_namespace_t *addr_ns_obj = NULL;
     int size = 0;
 
@@ -614,7 +614,7 @@ axis2_addr_out_handler_add_to_soap_heade
     AXIS2_PARAM_CHECK(env->error, type, AXIS2_FAILURE);
     AXIS2_PARAM_CHECK(env->error, soap_header, AXIS2_FAILURE);
 
-    header_node = axiom_soap_header_get_base_node(soap_header, env);
+    /*header_node = axiom_soap_header_get_base_node(soap_header, env); */
 
     addr_ns_obj = axiom_namespace_create(env, addr_ns, AXIS2_WSA_DEFAULT_PREFIX);
     header_block = axiom_soap_header_add_header_block(soap_header, env, type, addr_ns_obj);
@@ -628,11 +628,11 @@ axis2_addr_out_handler_add_to_soap_heade
     if(address && *address)
     {
         axiom_node_t *hb_node = NULL;
-        axiom_element_t *hb_ele = NULL;
+        /*axiom_element_t *hb_ele = NULL; */
         axiom_node_t *address_node = NULL;
         axiom_element_t *address_ele = NULL;
         hb_node = axiom_soap_header_block_get_base_node(header_block, env);
-        hb_ele = (axiom_element_t *)axiom_node_get_data_element(hb_node, env);
+        /*hb_ele = (axiom_element_t *)axiom_node_get_data_element(hb_node, env); */
 
         addr_ns_obj = axiom_namespace_create(env, addr_ns, AXIS2_WSA_DEFAULT_PREFIX);
 
@@ -640,10 +640,10 @@ axis2_addr_out_handler_add_to_soap_heade
 		axiom_namespace_free(addr_ns_obj, env);
         if(address_ele)
         {
-            axiom_namespace_t *dec_ns = NULL;
+            /*axiom_namespace_t *dec_ns = NULL; */
             axiom_element_set_text(address_ele, env, address, address_node);
-            dec_ns = axiom_element_find_declared_namespace(address_ele, env, addr_ns,
-                AXIS2_WSA_DEFAULT_PREFIX);
+            /*dec_ns = axiom_element_find_declared_namespace(address_ele, env, addr_ns,
+                AXIS2_WSA_DEFAULT_PREFIX); */
         }
     }
 
@@ -768,7 +768,7 @@ axis2_addr_out_handler_add_to_header(
     axiom_node_t *interface_node = NULL;
     axiom_element_t *interface_ele = NULL;
     const axis2_char_t *element_localname = NULL;
-    axis2_svc_name_t *service_name = NULL;
+    /*axis2_svc_name_t *service_name = NULL; */
     axiom_namespace_t *addr_ns_obj = NULL;
 
     AXIS2_PARAM_CHECK(env->error, epr, AXIS2_FAILURE);
@@ -819,7 +819,7 @@ axis2_addr_out_handler_add_to_header(
 
     }
 
-    service_name = axis2_endpoint_ref_get_svc_name(epr, env);
+    /*service_name = axis2_endpoint_ref_get_svc_name(epr, env); */
     return AXIS2_SUCCESS;
 }
 
@@ -855,7 +855,8 @@ axis2_addr_out_handler_process_any_conte
                 ele = axiom_element_create(env, parent_ele_node, key, NULL, &node);
                 if(ele)
                 {
-                    if(!axutil_strcmp(AXIS2_WSA_NAMESPACE, addr_ns))
+                    /*
+		    if(!axutil_strcmp(AXIS2_WSA_NAMESPACE, addr_ns))
                     {
                         axiom_namespace_t *addr_ns_obj = NULL;
                         axiom_attribute_t *att = NULL;
@@ -864,7 +865,7 @@ axis2_addr_out_handler_process_any_conte
                         att = axiom_attribute_create(env,
                             AXIS2_WSA_IS_REFERENCE_PARAMETER_ATTRIBUTE,
                             AXIS2_WSA_TYPE_ATTRIBUTE_VALUE, addr_ns_obj);
-                    }
+                    }*/
                     axiom_element_set_text(ele, env, val, node);
                 }
             }



Mime
View raw message