You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2006/03/29 14:51:12 UTC

svn commit: r389785 - in /webservices/axis2/trunk/c/modules: core/clientapi/stub.c mod_addr/addr_in_handler.c

Author: samisa
Date: Wed Mar 29 04:51:10 2006
New Revision: 389785

URL: http://svn.apache.org/viewcvs?rev=389785&view=rev
Log:
Fixed warnings

Modified:
    webservices/axis2/trunk/c/modules/core/clientapi/stub.c
    webservices/axis2/trunk/c/modules/mod_addr/addr_in_handler.c

Modified: webservices/axis2/trunk/c/modules/core/clientapi/stub.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/clientapi/stub.c?rev=389785&r1=389784&r2=389785&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/stub.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/stub.c Wed Mar 29 04:51:10 2006
@@ -656,7 +656,7 @@
         
         axis2_hash_this(index, &key, NULL, &val);
         property = (axis2_property_t *) val;
-        AXIS2_CALL_SET(call, env, key, property);
+        AXIS2_CALL_SET(call, env, (void*)key, property);
         
     }
     return AXIS2_SUCCESS;

Modified: webservices/axis2/trunk/c/modules/mod_addr/addr_in_handler.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/mod_addr/addr_in_handler.c?rev=389785&r1=389784&r2=389785&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/mod_addr/addr_in_handler.c (original)
+++ webservices/axis2/trunk/c/modules/mod_addr/addr_in_handler.c Wed Mar 29 04:51:10 2006
@@ -453,13 +453,13 @@
         {
             axis2_om_child_element_iterator_t *ref_param_iter = NULL;       
             
-            axis2_any_content_type_t *any_content_type = NULL;
+            /*axis2_any_content_type_t *any_content_type = NULL;
             any_content_type = AXIS2_ENDPOINT_REF_GET_REF_PARAMS(endpoint_ref, env);
             if(any_content_type == NULL)
             {
                 any_content_type = axis2_any_content_type_create(env);
                 AXIS2_ENDPOINT_REF_SET_REF_PARAMS(endpoint_ref, env, any_content_type);
-            }            
+            } */           
 
             ref_param_iter = AXIS2_OM_ELEMENT_GET_CHILD_ELEMENTS(child_ele, env, child_node);
             if(ref_param_iter)
@@ -471,24 +471,24 @@
                    axis2_any_content_type_t *any_content = NULL;
                    om_node = AXIS2_OM_CHILD_ELEMENT_ITERATOR_NEXT(ref_param_iter, env);
                    om_ele  = (axis2_om_element_t*)AXIS2_OM_NODE_GET_DATA_ELEMENT(om_node, env);
-                   any_content = AXIS2_ENDPOINT_REF_GET_REF_PARAMS(endpoint_ref, env);
+                   /*any_content = AXIS2_ENDPOINT_REF_GET_REF_PARAMS(endpoint_ref, env);
                    if(any_content && om_ele)
                    {
                        AXIS2_ANY_CONTENT_TYPE_ADD_VALUE(any_content, env, 
                             AXIS2_OM_ELEMENT_GET_QNAME(om_ele, env), AXIS2_OM_ELEMENT_GET_TEXT(om_ele, env, om_node));
                        
-                   }                       
+                   } */                      
                 }                    
             }
             
         }else if(axis2_addr_in_check_element(env, wsa_meta_qn, child_qn))        
         {
-           axis2_any_content_type_t *any_content_type = AXIS2_ENDPOINT_REF_GET_METADATA(endpoint_ref, env);
+           /*axis2_any_content_type_t *any_content_type = AXIS2_ENDPOINT_REF_GET_METADATA(endpoint_ref, env);
            if(any_content_type)
            {
                AXIS2_ANY_CONTENT_TYPE_ADD_VALUE(any_content_type, env, 
                             child_qn , AXIS2_OM_ELEMENT_GET_TEXT(child_ele, env, child_node));
-           }               
+           } */              
             
         }
     }