Path: utzoo!attcan!uunet!lll-winken!lll-lcc!ames!mailrus!uflorida!novavax!twwells!bill From: bill@twwells.uucp (T. William Wells) Newsgroups: comp.lang.c Subject: Re: Strange lint mumblings Message-ID: <281@twwells.uucp> Date: 29 Dec 88 06:16:07 GMT References: <416@marob.MASA.COM> <11467@dartvax.Dartmouth.EDU> <179@amsdsg.UUCP> <782@auspex.UUCP> <599@micropen> Reply-To: bill@twwells.UUCP (T. William Wells) Organization: None, Ft. Lauderdale Lines: 13 Summary: Expires: Sender: Followup-To: Distribution: Keywords: In article <599@micropen> dave@micropen (David F. Carlson) writes: : I have solved this "problem" by not using the function exit() to return : to the calling environment main() status. Rather, use return at the end : of main(). Lint seems to like return from functions. It never has been : able to deal with exit() properly, ("statement not reached", etc.) so why : try? Try putting /*NOTREACHED*/ after the exit(). That shuts up every lint I know about. It's in the manual. --- Bill {uunet|novavax}!proxftl!twwells!bill