mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] fs/isofs/namei.c: fix warnings of uninitialized variables
@ 2006-05-01 20:20 Petri T. Koistinen
  2006-05-02 11:19 ` Pekka Enberg
  0 siblings, 1 reply; 2+ messages in thread
From: Petri T. Koistinen @ 2006-05-01 20:20 UTC (permalink / raw)
  To: Andrew Morton; +Cc: trivial, linux-kernel

From: Petri T. Koistinen <petri.koistinen@iki.fi>

Remove warnings by initializing uninitialized variables.

Signed-off-by: Petri T. Koistinen <petri.koistinen@iki.fi>
---
 fs/isofs/namei.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

---
diff --git a/fs/isofs/namei.c b/fs/isofs/namei.c
index e7ba0c3..e0d6531 100644
--- a/fs/isofs/namei.c
+++ b/fs/isofs/namei.c
@@ -159,7 +159,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 block = 0, offset = 0;
 	struct inode *inode;
 	struct page *page;


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-05-02 11:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-01 20:20 [PATCH] fs/isofs/namei.c: fix warnings of uninitialized variables Petri T. Koistinen
2006-05-02 11:19 ` Pekka Enberg

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

all inboxes | Powered by JetHome®