https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7324
Bug ID: 7324
Summary: ignoring return value of ‘write’, declared with
attribute warn_unused_result [-Wunused-result]
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: spamc/spamd
Assignee: [email protected]
Reporter: [email protected]
gcc -g -O2 spamc/spamc.c spamc/getopt.c spamc/libspamc.c spamc/utils.c \
-o spamc/spamc -ldl -lz
spamc/libspamc.c: In function ‘libspamc_log’:
spamc/libspamc.c:2242:9: warning: ignoring return value of ‘write’, declared
with attribute warn_unused_result [-Wunused-result]
http://stackoverflow.com/questions/9148134/declared-with-attribute-warn-unused-result-wunused-result
says this is asking for trouble.
--
You are receiving this mail because:
You are the assignee for the bug.