From: Mike Taylor Date: Wed, 13 Jan 2010 12:32:02 +0000 (+0000) Subject: Void out unused return value from fwrite() to avoid compiler warnings. X-Git-Tag: v1.2.4~2^2~9 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=5562d7ab1e9bdb91437836c4c8d12f7e9e1d3a6e;p=pazpar2-moved-to-github.git Void out unused return value from fwrite() to avoid compiler warnings. --- 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);