public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [-rc7 Patch] fs/isofs/namei.c: mark variables as uninitialized_var
@ 2007-09-22  2:26 WANG Cong
  0 siblings, 0 replies; only message in thread
From: WANG Cong @ 2007-09-22  2:26 UTC (permalink / raw)
  To: LKML; +Cc: viro, Andrew Morton


Fix may-be-used-uninitialized warnings.

Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>

---
 fs/isofs/namei.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.23-rc7/fs/isofs/namei.c
===================================================================
--- linux-2.6.23-rc7.orig/fs/isofs/namei.c
+++ linux-2.6.23-rc7/fs/isofs/namei.c
@@ -158,7 +158,7 @@ isofs_find_entry(struct inode *dir, stru
 struct dentry *isofs_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd)
 {
 	int found;
-	unsigned long block, offset;
+	unsigned long uninitialized_var(block), uninitialized_var(offset);
 	struct inode *inode;
 	struct page *page;
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-09-22  2:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-22  2:26 [-rc7 Patch] fs/isofs/namei.c: mark variables as uninitialized_var WANG Cong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox