Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932261AbWEAVCK (ORCPT ); Mon, 1 May 2006 17:02:10 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932260AbWEAVCK (ORCPT ); Mon, 1 May 2006 17:02:10 -0400 Received: from mail.fuug.fi ([83.145.198.117]:9425 "EHLO mail.fuug.fi") by vger.kernel.org with ESMTP id S932259AbWEAVCI (ORCPT ); Mon, 1 May 2006 17:02:08 -0400 Date: Tue, 2 May 2006 00:01:51 +0300 (EEST) From: "Petri T. Koistinen" To: Davide Libenzi , Andrew Morton cc: trivial@kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] fs/eventpoll.c: initialize variable, remove warning Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 840 Lines: 29 From: Petri T. Koistinen Remove compiler warning by initializing uninitialized variable. Signed-off-by: Petri T. Koistinen --- fs/eventpoll.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) --- diff --git a/fs/eventpoll.c b/fs/eventpoll.c index 1b4491c..243c254 100644 --- a/fs/eventpoll.c +++ b/fs/eventpoll.c @@ -497,7 +497,7 @@ void eventpoll_release_file(struct file */ asmlinkage long sys_epoll_create(int size) { - int error, fd; + int error, fd = 0; struct eventpoll *ep; struct inode *inode; struct file *file; - 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/