_must_check
Posted Dec 2, 2006 22:02 UTC (Sat) by
jzbiciak (
✭ supporter ✭, #5246)
In reply to:
_must_check by ldo
Parent article:
KHB: Automating bug hunting
(void)strcpy(buf, "That's just plain silly.\n");
for (i = 0; i < 100; (void)i++)
(void)printf("%s", buf);
(void)fflush(stdout);
I think if you required (void) casts on all ignored return values, you'd quickly find yourself adding them blindly, and/or probably going (void)just this (void)side of (void)insane. (void)(void)(VOID)
(
Log in to post comments)