diff options
author | Karel Zak | 2008-09-29 12:24:38 +0200 |
---|---|---|
committer | Karel Zak | 2008-09-29 12:24:38 +0200 |
commit | 293889d084c4524930f44785dad8cae4f1be060b (patch) | |
tree | 68d373f7d7b3259a8cc5f04398ad0108f0943bfe /disk-utils | |
parent | umount: no checking mount point removal (diff) | |
download | kernel-qcow2-util-linux-293889d084c4524930f44785dad8cae4f1be060b.tar.gz kernel-qcow2-util-linux-293889d084c4524930f44785dad8cae4f1be060b.tar.xz kernel-qcow2-util-linux-293889d084c4524930f44785dad8cae4f1be060b.zip |
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 <kzak@redhat.com>
Diffstat (limited to 'disk-utils')
-rw-r--r-- | disk-utils/fsck.cramfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |