]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
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)
committerLennart Poettering <lennart@poettering.net>
Fri, 2 Mar 2018 10:55:33 +0000 (11:55 +0100)
src/login/logind-session-device.c

index 706245de423a30460ece5855927a9ebdecf9d2d9..db148d191637c78eb2363c5e25e6b07292e796ea 100644 (file)
@@ -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: