On Mon, Aug 20, 2001, Henrik Nordstrom wrote:
> src/fs/coss/async_io.c: In function `a_file_setupqueue':
> src/fs/coss/async_io.c:222: warning: unused variable `i'
>
> Fellow Squid developers: Please compile using at least
> "-Wmissing-prototypes -Werror" to trap these simple little things..
>
> This is what I normally use:
> make AC_CFLAGS="-g -O2 -Wall -Wmissing-prototypes -Werror
> -D_REENTRANT"
>
> In the long term, we should be able to compile with most -W.. flags
> supported by GCC. These warnings are there for a reason.
Hrm. Did I miss this message on the list? Weird.
I know that variable is unused. I haven't written the routine
yet. I can cheat by assuming the allocated memory is zeroed for
us, but eventually I don't want to. :)
Adrian, who compiled with -Wall..
-- Adrian Chadd Yeah, for me its (XML) like the movie Titanic. <adrian@creative.net.au> Everybody loves it. I want to be different, so I hate it. --Duane WesselsReceived on Mon Aug 20 2001 - 05:19:16 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:13 MST