[cfe-commits] PATCH: Check the result of 'fread()' in c-index-test

Chandler Carruth chandlerc at google.com
Sat Dec 12 17:56:14 PST 2009


GCC 4.4 complains about this with -Wall because the function has an
attribute to warn on unused return. I'm not familiar at all with
c-index-test, so I wanted to get a brief review prior to submitting;
this may not be the way we should handle errors.

-Chandler
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check-fread-return.patch
Type: application/octet-stream
Size: 843 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20091212/e1d9efc4/attachment.obj>


More information about the cfe-commits mailing list