summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-03-02 11:55:33 +0100
committerSven Eden <yamakuzure@gmx.net>2018-05-30 07:59:11 +0200
commite26d2bd8c76d7dbe67a94036b7bfeea8c75bb038 (patch)
treeaa06fa3fe1457a55fed97fe98c50bd677fb2f47f /src
parent2c9af27255f0a804a95084a78e2de38e4724b12e (diff)
logind: cast away return value we don't care about
Diffstat (limited to 'src')
-rw-r--r--src/login/logind-session-device.c2
1 files changed, 1 insertions, 1 deletions
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: