Re: warnings in 2.1.90 using pgcs

Kurt Garloff (garloff@kg1.ping.de)
Thu, 19 Mar 1998 11:50:01 +0100


On Thu, Mar 19, 1998 at 01:57:39AM -0500, Christopher W. Fisher wrote:
>
> in file included from /usr/src/linux/include/linux/string.h:39,
> from ide-disk.c:30:
> /usr/src/linux/include/asm/string.h:448: warning: control reaches end of
> non-void function
> /usr/src/linux/include/asm/string.h: In function
> `__constant_c_and_count_memset':
> /usr/src/linux/include/asm/string.h:599: warning: control reaches end of
> non-void function

Replace the 3: case by default: in the two functions mentioned to get rid of
the warning.

-- 
Kurt Garloff, Dortmund 
<K.Garloff@ping.de>
PGP key on http://student.physik.uni-dortmund.de/homepages/garloff

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu