From 293889d084c4524930f44785dad8cae4f1be060b Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 29 Sep 2008 12:24:38 +0200 Subject: fsck.cramfs: fix compiler warning 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(-) (limited to 'disk-utils') diff --git a/disk-utils/fsck.cramfs.c b/disk-utils/fsck.cramfs.c index aeb766fb3..ef5719521 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(); -- cgit v1.2.3-55-g7522