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-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=e26d2bd8c76d7dbe67a94036b7bfeea8c75bb038;p=elogind.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 4a378e14c..64a6bd273 100644 --- a/src/login/logind-session-device.c +++ b/src/login/logind-session-device.c @@ -168,7 +168,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: