Closed chickenkiller closed 13 years ago
No it does not. That was exactly my first try, but the compiler threw the same error:
mbox-indexer.c:95: error: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
Unfortunate. Applied. Thanks!
what about prefixing with (void), e.g. (void)fwrite(&doc_id, sizeof(doc_id), 1, offsets); does that also fix it?