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

Daniel Walker
2006-05-10T14:31:32Z

On Wed, 2006-05-10 at 11:34 +0100, Alan Cox wrote:
>
> This causes very poor code as its initializing an object on the stack.
> It also appears from inspection to be entirely un-neccessary. Instead
> the compiler needs some help.

It's just a warning .. The compiler flagged a spot which look suspect .
We have -Wall turn on now , so we could possibly disable these
warnings.

> 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 .