From f55d9a4f815b087227abbac7934b47b0ea3c0446 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sun, 7 Jul 2013 20:54:26 +0100 Subject: [PATCH] lib/loopdev: assigned value is never read [clang-analyzer] Signed-off-by: Sami Kerola --- lib/loopdev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/loopdev.c b/lib/loopdev.c index 3b65b5d29f..001a9ad4bc 100644 --- a/lib/loopdev.c +++ b/lib/loopdev.c @@ -1234,7 +1234,6 @@ int loopcxt_setup_device(struct loopdev_cxt *lc) goto err; close(file_fd); - file_fd = -1; memset(&lc->info, 0, sizeof(lc->info)); lc->has_info = 0; -- 2.47.2