Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!hao!boulder!sunybcs!rutgers!iuvax!pur-ee!uiucdcs!uiucdcsb!kenny From: kenny@uiucdcsb.cs.uiuc.edu Newsgroups: comp.lang.c Subject: Re: goto's and switch statements -- Message-ID: <165600010@uiucdcsb> Date: Thu, 3-Sep-87 21:09:00 EDT Article-I.D.: uiucdcsb.165600010 Posted: Thu Sep 3 21:09:00 1987 Date-Received: Sat, 5-Sep-87 15:31:52 EDT References: <869@tjalk.cs.vu.nl> Lines: 18 Nf-ID: #R:tjalk.cs.vu.nl:869:uiucdcsb:165600010:000:843 Nf-From: uiucdcsb.cs.uiuc.edu!kenny Sep 3 20:09:00 1987 /* 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.