summaryrefslogtreecommitdiff
path: root/src/login/logind-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/login/logind-core.c')
-rw-r--r--src/login/logind-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/logind-core.c b/src/login/logind-core.c
index 9d98d36b9f..57d2d64e49 100644
--- a/src/login/logind-core.c
+++ b/src/login/logind-core.c
@@ -703,7 +703,7 @@ bool manager_all_buttons_ignored(Manager *m) {
int manager_read_utmp(Manager *m) {
#if ENABLE_UTMP
int r;
- _cleanup_(utxent_cleanup) bool utmpx = false;
+ _unused_ _cleanup_(utxent_cleanup) bool utmpx = false;
assert(m);