projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f962695
)
Void out unused return value from fwrite() to avoid compiler warnings.
author
Mike Taylor
<mike@miketaylor.org.uk>
Wed, 13 Jan 2010 12:32:02 +0000
(12:32 +0000)
committer
Mike Taylor
<mike@miketaylor.org.uk>
Wed, 13 Jan 2010 12:32:02 +0000
(12:32 +0000)
src/logic.c
patch
|
blob
|
history
diff --git
a/src/logic.c
b/src/logic.c
index
1d34bee
..
5e9ed3b
100644
(file)
--- 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);