From 5562d7ab1e9bdb91437836c4c8d12f7e9e1d3a6e Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Wed, 13 Jan 2010 12:32:02 +0000 Subject: [PATCH] Void out unused return value from fwrite() to avoid compiler warnings. --- src/logic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logic.c b/src/logic.c index 1d34bee..5e9ed3b 100644 --- a/src/logic.c +++ b/src/logic.c @@ -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); -- 1.7.10.4