From f45f5c83f9438889b3fa5107ffb7702e99ccca96 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 29 Jul 2015 13:51:05 +0200 Subject: [PATCH] fdisk: value is never read [clang analyze] Signed-off-by: Karel Zak --- disk-utils/fdisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disk-utils/fdisk.c b/disk-utils/fdisk.c index 8526afd294..0e45676773 100644 --- a/disk-utils/fdisk.c +++ b/disk-utils/fdisk.c @@ -442,7 +442,7 @@ static struct fdisk_parttype *ask_partition_type(struct fdisk_context *cxt) void list_partition_types(struct fdisk_context *cxt) { size_t ntypes = 0; - struct fdisk_label *lb = fdisk_get_label(cxt, NULL); + struct fdisk_label *lb; assert(cxt); lb = fdisk_get_label(cxt, NULL); -- 2.47.2