Re: [PATCH] fs/eventpoll.c: initialize variable, remove warning

From: Al Viro
Date: Mon May 01 2006 - 20:23:27 EST


On Tue, May 02, 2006 at 12:01:51AM +0300, Petri T. Koistinen wrote:
> From: Petri T. Koistinen <petri.koistinen@xxxxxx>
>
> Remove compiler warning by initializing uninitialized variable.

NAK, fd is initialized by ep_getfd() in all cases when it returns 0.
In case if ep_getfd() returns non-zero, fd is never used.
-
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/