]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
fdisk: value is never read [clang analyze]
authorKarel Zak <kzak@redhat.com>
Wed, 29 Jul 2015 11:57:28 +0000 (13:57 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 29 Jul 2015 11:57:28 +0000 (13:57 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/fdisk-menu.c

index ea12ac74ee2031ed146a0bf94e6366372bd0510d..a78eece91c88e9d2f16d299b4ff2a21ff5930a60 100644 (file)
@@ -433,7 +433,6 @@ int process_fdisk_menu(struct fdisk_context **cxt0)
                return -EINVAL;
        }
 
-       rc = 0;
        DBG(MENU, ul_debug("selected: key=%c, entry='%s'",
                                key, ent->title));