eject: assigned value is never read [clang-analyzer]
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
a149ad39e8
commit
31f65a8e45
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue