chiark / gitweb /
logind: cast away return value we don't care about
[elogind.git] / 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: