[cvs-annodex] commit (/annodex): libcmml/trunk/tools/cmml-fix.c

silvia nobody at lists.annodex.net
Mon Apr 11 23:58:23 EST 2005


Update of /annodex (new revision 1238)

Modified files:
   libcmml/trunk/tools/cmml-fix.c

Log Message:
Removes a warning at the end of parsing a file.



Modified: libcmml/trunk/tools/cmml-fix.c
===================================================================
--- libcmml/trunk/tools/cmml-fix.c	2005-04-11 13:37:59 UTC (rev 1237)
+++ libcmml/trunk/tools/cmml-fix.c	2005-04-11 13:58:22 UTC (rev 1238)
@@ -354,7 +354,7 @@
   }
 
   err = cmml_get_last_error(doc);
-  if (n == -1 || (err!=NULL && err->type != CMML_EOF)) {
+  if (err!=NULL && err->type != CMML_EOF) {
       char *filename;
       filename = (strrchr(pathfile, '/') == NULL ? pathfile
 		  : strrchr(pathfile, '/')+1);


-- 
silvia



More information about the cvs-annodex mailing list