axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r348635 - in /webservices/axis2/trunk/c/modules/xml/parser/guththila: impl/src/guththila_reader.h test/guththila_test.c
Date Thu, 24 Nov 2005 04:05:37 GMT
Author: samisa
Date: Wed Nov 23 20:05:30 2005
New Revision: 348635

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

Modified:
    webservices/axis2/trunk/c/modules/xml/parser/guththila/impl/src/guththila_reader.h
    webservices/axis2/trunk/c/modules/xml/parser/guththila/test/guththila_test.c

Modified: webservices/axis2/trunk/c/modules/xml/parser/guththila/impl/src/guththila_reader.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/parser/guththila/impl/src/guththila_reader.h?rev=348635&r1=348634&r2=348635&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/parser/guththila/impl/src/guththila_reader.h (original)
+++ webservices/axis2/trunk/c/modules/xml/parser/guththila/impl/src/guththila_reader.h Wed
Nov 23 20:05:30 2005
@@ -31,7 +31,7 @@
 {
     GUTHTHILA_FILE_READER = 1,
     GUTHTHILA_IN_MEMORY_READER
-};
+} guththila_reader_types_t;
 
 typedef struct guththila_reader_s
 {

Modified: webservices/axis2/trunk/c/modules/xml/parser/guththila/test/guththila_test.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/parser/guththila/test/guththila_test.c?rev=348635&r1=348634&r2=348635&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/parser/guththila/test/guththila_test.c (original)
+++ webservices/axis2/trunk/c/modules/xml/parser/guththila/test/guththila_test.c Wed Nov 23
20:05:30 2005
@@ -25,7 +25,6 @@
 {
     guththila_allocator_t *allocator = NULL;
     guththila_environment_t *env = NULL;
-    guththila_reader_t *reader = NULL;
     guththila_reader_t *reader_mem = NULL;
     guththila_xml_pull_parser_t *parser = NULL;
     guththila_attribute_t *a = NULL;
@@ -43,7 +42,7 @@
     
     f =fopen(filename,"r");
     if(!f)
-        return;
+        return -1;
     
     allocator = guththila_allocator_init(NULL);
     env       = guththila_environment_create(allocator,NULL,NULL);
@@ -192,5 +191,5 @@
 
 guththila_environment_free(env);
 
-getchar();
+return 0;
 }



Mime
View raw message