From 31f65a8e45afcf6e23a11b23c2d8dc58fe5e31cc Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sun, 7 Jul 2013 20:54:34 +0100 Subject: [PATCH] eject: assigned value is never read [clang-analyzer] Signed-off-by: Sami Kerola --- sys-utils/eject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.47.2