summaryrefslogtreecommitdiff
path: root/src/login/logind-seat.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-08-06 19:04:49 +0200
committerSven Eden <sven.eden@prydeworx.com>2018-10-29 10:18:34 +0100
commit51c1454b9f79b8f936dd7013d29c39798a7dcb70 (patch)
treec34b0eae6af445bfd75a944d8fd5374114c2586b /src/login/logind-seat.c
parentb470c28684495d65b8eaf7733f92990fefe894ba (diff)
logind: voidify a few calls
(cherry picked from commit 75bbdf478c73d78bbe5bdee6f468c2e84a1844c6)
Diffstat (limited to 'src/login/logind-seat.c')
-rw-r--r--src/login/logind-seat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/login/logind-seat.c b/src/login/logind-seat.c
index 4e607739f..8e5c5ac4c 100644
--- a/src/login/logind-seat.c
+++ b/src/login/logind-seat.c
@@ -242,7 +242,7 @@ int seat_set_active(Seat *s, Session *session) {
session_send_changed(old_active, "Active", NULL);
}
- seat_apply_acls(s, old_active);
+ (void) seat_apply_acls(s, old_active);
if (session && session->started) {
session_send_changed(session, "Active", NULL);
@@ -447,7 +447,7 @@ int seat_stop(Seat *s, bool force) {
seat_stop_sessions(s, force);
- unlink(s->state_file);
+ (void) unlink(s->state_file);
seat_add_to_gc_queue(s);
if (s->started)