From 293889d084c4524930f44785dad8cae4f1be060b Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 29 Sep 2008 12:24:38 +0200 Subject: [PATCH] fsck.cramfs: fix compiler warning MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit fsck.cramfs.c: In function ‘main’: fsck.cramfs.c:676 warning: ‘length’ may be used uninitialized in this function Signed-off-by: Karel Zak --- disk-utils/fsck.cramfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disk-utils/fsck.cramfs.c b/disk-utils/fsck.cramfs.c index aeb766fb..ef571952 100644 --- a/disk-utils/fsck.cramfs.c +++ b/disk-utils/fsck.cramfs.c @@ -673,7 +673,7 @@ int main(int argc, char **argv) { int c; /* for getopt */ int start = 0; - size_t length; + size_t length = 0; page_size = getpagesize(); -- 2.39.5