]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
fsck: uninitialized argument value [clang-analyze]
authorKarel Zak <kzak@redhat.com>
Tue, 1 Jul 2014 11:48:01 +0000 (13:48 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 1 Jul 2014 11:48:01 +0000 (13:48 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/fsck.c

index de5fb5b7c7d09fc65aebfc0326e8707ce154706f..40c59c6668e12d6dd28db9a3bde3cae244fc5ef3 100644 (file)
@@ -712,7 +712,7 @@ static int kill_all(int signum)
  */
 static struct fsck_instance *wait_one(int flags)
 {
-       int     status;
+       int     status = 0;
        int     sig;
        struct fsck_instance *inst, *inst2, *prev;
        pid_t   pid;