Re: [PATCH -mm] sys_semctl gcc 4.1 warning fix

From: Alan Cox
Date: Wed May 10 2006 - 10:57:29 EST


On Mer, 2006-05-10 at 07:31 -0700, Daniel Walker wrote:
> > Hiding warnings like this can be a hazard as it will hide real warnings
> > later on.
>
> How could it hide real warnings? If anything these patch allow other
> (real warnings) to be seen .

Because while the warning is present people will check it now and again.
If you set the variable to zero then you generate extra code and you
ensure nobody will look in future.

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