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 na...@apache.org on 2006/03/17 07:53:22 UTC

svn commit: r386555 - in /webservices/axis2/trunk/c/test/xml: om/test_om.c soap/test_soap.c

Author: nandika
Date: Thu Mar 16 22:53:21 2006
New Revision: 386555

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

Modified:
    webservices/axis2/trunk/c/test/xml/om/test_om.c
    webservices/axis2/trunk/c/test/xml/soap/test_soap.c

Modified: webservices/axis2/trunk/c/test/xml/om/test_om.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/xml/om/test_om.c?rev=386555&r1=386554&r2=386555&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/xml/om/test_om.c (original)
+++ webservices/axis2/trunk/c/test/xml/om/test_om.c Thu Mar 16 22:53:21 2006
@@ -94,7 +94,7 @@
     {
         printf(" root element null ");
         AXIS2_OM_STAX_BUILDER_FREE(builder, &environment);
-        return;
+        return -1;
     }
     if(node1)
     {
@@ -196,7 +196,7 @@
     axis2_om_node_t *node1 = NULL, *node2 = NULL, *node3 = NULL, *node4 =
         NULL, *node5 = NULL, *node6 = NULL;
     axis2_om_attribute_t *attr1 = NULL, *attr2 = NULL;
-    axis2_om_namespace_t *ns1 = NULL, *ns2 = NULL, *ns3 = NULL;
+    axis2_om_namespace_t *ns1 = NULL, *ns2 = NULL;
     axis2_om_text_t *text1 = NULL;
     axis2_om_output_t *om_output = NULL;
     axis2_xml_writer_t *writer = NULL;

Modified: webservices/axis2/trunk/c/test/xml/soap/test_soap.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/xml/soap/test_soap.c?rev=386555&r1=386554&r2=386555&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/xml/soap/test_soap.c (original)
+++ webservices/axis2/trunk/c/test/xml/soap/test_soap.c Thu Mar 16 22:53:21 2006
@@ -68,7 +68,6 @@
 
 int build_soap(axis2_env_t **env, char *filename,axis2_char_t *uri)
 {
-    axis2_om_document_t *om_doc = NULL;
     axis2_om_stax_builder_t *om_builder = NULL;
     
     axis2_xml_reader_t *xml_reader = NULL;
@@ -84,10 +83,7 @@
     
     axis2_soap_body_t *soap_body = NULL;
     axis2_soap_header_t *soap_header = NULL;
-    axis2_soap_header_block_t *header_block = NULL;
     axis2_om_children_qname_iterator_t *children_iter = NULL;
-    
-    axis2_hash_t *hbs = NULL;
     
     int status = AXIS2_SUCCESS;