mirror of
https://github.com/systemd/systemd.git
synced 2024-12-25 01:34:28 +03:00
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 New Issue
Block a user