]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
logind: voidify more things 10814/head
authorLennart Poettering <lennart@poettering.net>
Fri, 16 Nov 2018 20:46:49 +0000 (21:46 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 16 Nov 2018 20:50:37 +0000 (21:50 +0100)
src/login/logind-action.c

index be5804bff1f294f6e7bed379d20eda052c3a4e60..e4e6c9019117088dd945965bc5eca3d696b901c3 100644 (file)
@@ -137,7 +137,7 @@ int manager_handle_action(
             manager_is_inhibited(m, inhibit_operation, INHIBIT_BLOCK, NULL, false, false, 0, &offending)) {
                 _cleanup_free_ char *comm = NULL, *u = NULL;
 
-                get_process_comm(offending->pid, &comm);
+                (void) get_process_comm(offending->pid, &comm);
                 u = uid_to_name(offending->uid);
 
                 /* If this is just a recheck of the lid switch then don't warn about anything */