fixed compiler warning

This commit is contained in:
Martin Willi
2009-03-19 08:54:39 +00:00
parent d7625f0990
commit c5c969639c
+1 -1
View File
@@ -99,7 +99,7 @@ static int custom_print(FILE *stream, const struct printf_info *info,
written = handler->hook(buf, sizeof(buf), &spec, args);
if (written > 0)
{
fwrite(buf, 1, written, stream);
ignore_result(fwrite(buf, 1, written, stream));
}
return written;
}