]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
findmnt: initialize rc variable
authorKarel Zak <kzak@redhat.com>
Thu, 2 Feb 2012 11:50:44 +0000 (12:50 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 2 Feb 2012 11:50:44 +0000 (12:50 +0100)
misc-utils/findmnt.c

index 4a65df990b2b8a0bda0f070cfa37d5891eb37bb1..9acc6e25394866ac0f7b27b070ff89704ecf1410 100644 (file)
@@ -513,7 +513,7 @@ static struct libmnt_table *parse_tabfiles(char **files,
                                           int tabtype)
 {
        struct libmnt_table *tb;
-       int rc;
+       int rc = 0;
 
        tb = mnt_new_table();
        if (!tb) {