logind: cast close() call to (void)
This commit is contained in:
parent
5febf10c1c
commit
4fba57963b
|
@ -70,7 +70,7 @@ void button_free(Button *b) {
|
|||
/* If the device has been unplugged close() returns
|
||||
* ENODEV, let's ignore this, hence we don't use
|
||||
* safe_close() */
|
||||
close(b->fd);
|
||||
(void) close(b->fd);
|
||||
}
|
||||
|
||||
free(b->name);
|
||||
|
|
Loading…
Reference in a new issue