chiark / gitweb /
logind: cast away return value we don't care about
authorLennart Poettering <lennart@poettering.net>
Fri, 2 Mar 2018 10:55:33 +0000 (11:55 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:59:11 +0000 (07:59 +0200)
src/login/logind-session-device.c

index 4a378e14c5e1ae5b998bb6b4e6869d30e9aaa5bd..64a6bd273f392d2d153fda84d6dd97c7560e3d47 100644 (file)
@@ -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: