From: Sami Kerola Date: Sun, 7 Jul 2013 19:54:34 +0000 (+0100) Subject: eject: assigned value is never read [clang-analyzer] X-Git-Tag: v2.24-rc1~437 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31f65a8e45afcf6e23a11b23c2d8dc58fe5e31cc;p=thirdparty%2Futil-linux.git eject: assigned value is never read [clang-analyzer] Signed-off-by: Sami Kerola --- diff --git a/sys-utils/eject.c b/sys-utils/eject.c index f98f227754..5bcde68ca6 100644 --- a/sys-utils/eject.c +++ b/sys-utils/eject.c @@ -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; }