[PATCH 19/34] eject: assigned value is never read [clang-analyzer]

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

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 f98f227..5bcde68 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;
}

--
1.8.3.2