mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Petri T. Koistinen" <petri.koistinen@iki.fi>
To: Andrew Morton <akpm@osdl.org>
Cc: trivial@kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] fs/isofs/namei.c: fix warnings of uninitialized variables
Date: Mon, 1 May 2006 23:20:52 +0300 (EEST)	[thread overview]
Message-ID: <Pine.LNX.4.64.0605012255290.15813@joo> (raw)

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;


             reply	other threads:[~2006-05-01 20:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-01 20:20 Petri T. Koistinen [this message]
2006-05-02 11:19 ` Pekka Enberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.64.0605012255290.15813@joo \
    --to=petri.koistinen@iki.fi \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trivial@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®