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

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2013-07-07 20:54:26 +01:00 committed by Karel Zak
parent e7ba987a04
commit f55d9a4f81

View file

@ -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;