kenny@uiucdcsb.cs.uiuc.edu (09/04/87)
/* Written 9:17 am Sep 2, 1987 by rblieva@cs.vu.nl in uiucdcsb:comp.lang.c */
/* ---------- "Re: goto's and switch statements --" ---------- */
BTW. Does anybody know how to stop lint complaining about functions
returning values wich are always/sometimes ignored? I get one for every
time I use sprintf, fclose, strcpy and quite a few others!
[ OK, I meant another way than indeed using the values.
I just don't need them (always)! ]
/* End of text from uiucdcsb:comp.lang.c */
Cast them to void: i.e.,
(void) sprintf (buffer, "...", ...);
{Kevin Kenny UUCP: {ihnp4,pur-ee,convex}!uiucdcs!kenny
University of Illinois at Urbana-Champaign CSNET: kenny@UIUC.CSNET
NSA line eater food: ARPA: kenny@B.CS.UIUC.EDU (kenny@UIUC.ARPA)
Bomb, secret, terrorist, cryptography, DES, assassinate, decode, CIA, NRO.