Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!convex!texsun!smunews!necssd!harrison From: harrison@necssd.NEC.COM (Mark Harrison) Newsgroups: comp.bugs.4bsd Subject: Re: lint fails to be my friend Message-ID: <755@necssd.NEC.COM> Date: 7 Apr 91 04:59:50 GMT References: <1059@eplunix.UUCP> Organization: NEC America Inc. SSD, Irving, TX Lines: 20 In article <1059@eplunix.UUCP>, das@eplunix.UUCP (David Steffens) writes: > When beginning maintenance activities on code that someone else has written, > the first thing I do is to run lint on the code to see what pops out. > This time, lint failed to find something that I think it should have. Gimpel's Flexelint catches it. I *LIKE* flexelint. } FlexeLint (U32) Ver. 4.00h, Copyright Gimpel Software 1985-1990 } foo.c 7 Warning 530: foo (line 3) not initialized } foo.c 9 Warning 530: bar (line 4) not initialized } foo.c 11 Warning 530: blap (line 4) not initialized } foo.c 13 Warning 530: flap (line 4) not initialized } foo.c 15 Warning 530: baz (line 5) not initialized } foo.c 18 Warning 533: Return mode of main inconsistent with line 1 PS, you forgot to return a value from main(). :-) :-) :-) -- Mark Harrison harrison@ssd.dl.nec.com (214)518-5050 {necntc, cs.utexas.edu}!necssd!harrison standard disclaimers apply...