Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!mailrus!husc6!cmcl2!phri!marob!daveh From: daveh@marob.MASA.COM (Dave Hammond) Newsgroups: comp.lang.c Subject: Strange lint mumblings Message-ID: <416@marob.MASA.COM> Date: 13 Dec 88 17:00:06 GMT Reply-To: daveh@marob.masa.com (Dave Hammond) Organization: ESCC New York City Lines: 16 Can anyone explain why the statement: exit(0); /* followed immediately by main's closing brace */ causes lint to complain: ma-main.c ============== (137) warning: main() returns random value to invocation environment [yes, "exit(0)" is the statement on line 137 of the file ma-main.c] -- Dave Hammond UUCP: uunet!masa.com!{dsix2,marob}!daveh DOMAIN: dsix2!daveh@masa.com