Void out unused return value from fwrite() to avoid compiler warnings.
authorMike Taylor <mike@miketaylor.org.uk>
Wed, 13 Jan 2010 12:32:02 +0000 (12:32 +0000)
committerMike Taylor <mike@miketaylor.org.uk>
Wed, 13 Jan 2010 12:32:02 +0000 (12:32 +0000)
src/logic.c

index 1d34bee..5e9ed3b 100644 (file)
@@ -92,7 +92,7 @@ static void log_xml_doc(xmlDoc *doc)
 #endif
     if (lf && len)
     {
-        fwrite(result, 1, len, lf);
+        (void) fwrite(result, 1, len, lf);
         fprintf(lf, "\n");
     }
     xmlFree(result);