]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
eject: assigned value is never read [clang-analyzer]
authorSami Kerola <kerolasa@iki.fi>
Sun, 7 Jul 2013 19:54:34 +0000 (20:54 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 9 Jul 2013 12:25:10 +0000 (14:25 +0200)
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
sys-utils/eject.c

index f98f2277545d1fba5e00a59d89c300b63ff073e4..5bcde68ca66d4d863bc5a6156f5eb854be03cbef 100644 (file)
@@ -636,7 +636,7 @@ static int eject_scsi(int fd)
                return 0;
 
        /* force kernel to reread partition table when new disc inserted */
-       status = ioctl(fd, BLKRRPART);
+       ioctl(fd, BLKRRPART);
        return 1;
 }