From: Lennart Poettering Date: Fri, 2 Mar 2018 10:55:33 +0000 (+0100) Subject: logind: cast away return value we don't care about X-Git-Tag: v238~20^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4804600b6a38994ce4157163fe8af68a0c83e3f0;p=thirdparty%2Fsystemd.git logind: cast away return value we don't care about --- diff --git a/src/login/logind-session-device.c b/src/login/logind-session-device.c index 706245de423..db148d19163 100644 --- a/src/login/logind-session-device.c +++ b/src/login/logind-session-device.c @@ -164,7 +164,7 @@ static int session_device_open(SessionDevice *sd, bool active) { } else /* DRM-Master is granted to the first user who opens a device automatically (ughh, * racy!). Hence, we just drop DRM-Master in case we were the first. */ - sd_drmdropmaster(fd); + (void) sd_drmdropmaster(fd); break; case DEVICE_TYPE_EVDEV: