From: Karel Zak Date: Mon, 29 Sep 2008 10:24:38 +0000 (+0200) Subject: fsck.cramfs: fix compiler warning X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=293889d084c4524930f44785dad8cae4f1be060b;p=util-linux 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 --- 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();