mirror of
https://github.com/systemd/systemd.git
synced 2024-10-31 07:51:21 +03:00
logind: voidify a function we never check the return value of
This commit is contained in:
parent
47920c4a26
commit
a3ddf73c0e
@ -106,7 +106,7 @@ static int session_device_notify(SessionDevice *sd, enum SessionDeviceNotificati
|
||||
return sd_bus_send(sd->session->manager->bus, m, NULL);
|
||||
}
|
||||
|
||||
static int sd_eviocrevoke(int fd) {
|
||||
static void sd_eviocrevoke(int fd) {
|
||||
static bool warned = false;
|
||||
|
||||
assert(fd >= 0);
|
||||
@ -118,8 +118,6 @@ static int sd_eviocrevoke(int fd) {
|
||||
warned = true;
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int sd_drmsetmaster(int fd) {
|
||||
|
Loading…
Reference in New Issue
Block a user