From: Karel Zak Date: Wed, 29 Jul 2015 11:57:28 +0000 (+0200) Subject: fdisk: value is never read [clang analyze] X-Git-Tag: v2.27-rc1~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5161deefbf73f3c37637f943918c2a77efbe2b2;p=thirdparty%2Futil-linux.git fdisk: value is never read [clang analyze] Signed-off-by: Karel Zak --- diff --git a/disk-utils/fdisk-menu.c b/disk-utils/fdisk-menu.c index ea12ac74ee..a78eece91c 100644 --- a/disk-utils/fdisk-menu.c +++ b/disk-utils/fdisk-menu.c @@ -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));