axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r368244 - in /webservices/axis2/trunk/c/modules/xml/soap: soap_envelope.c soap_model_builder.c
Date Thu, 12 Jan 2006 02:49:34 GMT
Author: samisa
Date: Wed Jan 11 18:49:30 2006
New Revision: 368244

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

Modified:
    webservices/axis2/trunk/c/modules/xml/soap/soap_envelope.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_model_builder.c

Modified: webservices/axis2/trunk/c/modules/xml/soap/soap_envelope.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/soap_envelope.c?rev=368244&r1=368243&r2=368244&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/soap_envelope.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/soap_envelope.c Wed Jan 11 18:49:30 2006
@@ -106,7 +106,6 @@
 axis2_soap_envelope_create_null(axis2_env_t **env)
 {
     axis2_soap_envelope_impl_t *envelope_impl = NULL;
-    axis2_om_element_t *ele = NULL;
     AXIS2_ENV_CHECK(env, NULL);
     envelope_impl = (axis2_soap_envelope_impl_t*)AXIS2_MALLOC(
                     (*env)->allocator,

Modified: webservices/axis2/trunk/c/modules/xml/soap/soap_model_builder.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/soap_model_builder.c?rev=368244&r1=368243&r2=368244&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/soap_model_builder.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/soap_model_builder.c Wed Jan 11 18:49:30 2006
@@ -266,7 +266,6 @@
                                  axis2_env_t **env)
 {
     axis2_soap_model_builder_impl_t *builder_impl = NULL;
-    axis2_om_document_t *om_doc = NULL;
     AXIS2_FUNC_PARAM_CHECK(builder, env, NULL);
     builder_impl = AXIS2_INTF_TO_IMPL(builder);
     return AXIS2_SOAP_ENVELOPE_GET_BASE_NODE(builder_impl->soap_envelope, env);
@@ -472,12 +471,15 @@
         om_ns = AXIS2_OM_ELEMENT_GET_NAMESPACE(om_ele, env);
         ns_uri = AXIS2_OM_NAMESPACE_GET_URI(om_ns, env);
         if(om_ns && 
-                AXIS2_STRCMP(ns_uri, AXIS2_SOAP11_SOAP_ENVELOPE_NAMESPACE_URI) != 0 ||
-                AXIS2_STRCMP(ns_uri, AXIS2_SOAP12_SOAP_ENVELOPE_NAMESPACE_URI) != 0)
+                (AXIS2_STRCMP(ns_uri, AXIS2_SOAP11_SOAP_ENVELOPE_NAMESPACE_URI) != 0 ||
+                 AXIS2_STRCMP(ns_uri, AXIS2_SOAP12_SOAP_ENVELOPE_NAMESPACE_URI) != 0))
         {
             AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_INVALID_SOAP_NAMESPACE_URI, AXIS2_FAILURE);
               
             return AXIS2_FAILURE;
         }
     }    
     return AXIS2_SUCCESS;
-}                                                                                       
                          
\ No newline at end of file
+}                                                                                       
                          
+
+
+



Mime
View raw message