lkml.org 
[lkml]   [2006]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] fs/eventpoll.c: initialize variable, remove warning
On Tue, May 02, 2006 at 12:01:51AM +0300, Petri T. Koistinen wrote:
> From: Petri T. Koistinen <petri.koistinen@iki.fi>
>
> 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-05-02 02:26    [W:0.024 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site