Re: Kernel bugs found using inspect tool

From: Ricky Beam (jfbeam@bluetopia.net)
Date: Wed Feb 23 2000 - 13:11:44 EST


On Wed, 23 Feb 2000, Jamie Lokier wrote:
>Those are obvious GCC warning material. for/while/if followed by
>semicolon followed by brace.
>
>Hmm. When GCC supports column numbers, maybe warnings could be added
>ased on indentation clues too, like this which I've seen in the kernel
>on occasion:
>
> if (foo);
> bar;

Those are perfectly legal constructions. The compiler, while certainly
magic, isn't a psychic.

--Ricky

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:34 EST