]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
fdformat: fix uninitialized variable
authorFrancesco Cosoleto <cosoleto@gmail.com>
Sat, 10 Sep 2011 17:06:09 +0000 (19:06 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 18 Oct 2011 12:22:26 +0000 (14:22 +0200)
Spotted by EKOPath compiler.

Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
disk-utils/fdformat.c

index 670242f8af3e69b231a87915958ba0f59307ff2f..29782ec9a0792180dfa7b659562a7e0bf340a06f 100644 (file)
@@ -106,7 +106,7 @@ int main(int argc, char **argv)
 {
        int ch;
        int ctrl;
-       int verify;
+       int verify = 1;
        struct stat st;
 
        static const struct option longopts[] = {