eject: 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:34 +01:00 committed by Karel Zak
parent a149ad39e8
commit 31f65a8e45

View 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;
}