mirror of
https://github.com/systemd/systemd.git
synced 2024-10-31 07:51:21 +03:00
logind: cast away return value we don't care about
This commit is contained in:
parent
a3ddf73c0e
commit
4804600b6a
@ -164,7 +164,7 @@ static int session_device_open(SessionDevice *sd, bool active) {
|
|||||||
} else
|
} else
|
||||||
/* DRM-Master is granted to the first user who opens a device automatically (ughh,
|
/* 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. */
|
* racy!). Hence, we just drop DRM-Master in case we were the first. */
|
||||||
sd_drmdropmaster(fd);
|
(void) sd_drmdropmaster(fd);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case DEVICE_TYPE_EVDEV:
|
case DEVICE_TYPE_EVDEV:
|
||||||
|
Loading…
Reference in New Issue
Block a user