[PATCH 11/34] lib/loopdev: assigned value is never read [clang-analyzer]

Sami Kerola
2013-07-07T19:55:29Z

lib/loopdev.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/lib/loopdev.c b/lib/loopdev.c
index 3b65b5d..001a9ad 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;
--
1.8.3.2