3 static void nfunc(void);
10 From: "Johnson, Nathan E. (AZ76)" <NEJohnson@space.honeywell.com>
11 To: "'lclint-bug'" <lclint-bug@salsa.lcs.mit.edu>
12 Subject: Mishandling of prototypes stated within functions
13 Date: Wed, 26 May 1999 09:00:24 -0700
17 X-Mailer: Internet Mail Service (5.5.2448.0)
18 Content-Type: text/plain
25 The following program:
26 ----------------------------
29 static void nothing(void);
33 static void nothing(){}
35 ------------------------------
37 ------------------------------
38 LCLint 2.4b --- 18 Apr 98
40 lbug.c:7:13: File static function nothing declared but not used
41 A function is declared but not used. Use @unused@ in front of function
42 header to suppress message. (-fcnuse will suppress message)
43 lbug.c:7:24: Definition of nothing
45 Finished LCLint checking --- 1 code error found