1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00

logind: cast close() call to (void)

This commit is contained in:
Lennart Poettering 2015-06-16 01:55:20 +02:00
parent 5febf10c1c
commit 4fba57963b

View File

@ -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);