tree-wide: cast result of get_process_comm() to (void) where we ignore it

This commit is contained in:
Lennart Poettering
2020-10-27 14:06:49 +01:00
parent e08dabfec7
commit 74d6421da0
8 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -146,7 +146,7 @@ int logind_check_inhibitors(enum action a) {
ACTION_KEXEC) ? "shutdown" : "sleep"))
continue;
get_process_comm(pid, &comm);
(void) get_process_comm(pid, &comm);
user = uid_to_name(uid);
log_warning("Operation inhibited by \"%s\" (PID "PID_FMT" \"%s\", user %s), reason is \"%s\".",