From f9aa5413807e163df49171793eb93a230cd7b955 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 7 Nov 2014 16:33:03 +0100 Subject: [PATCH] log: explicitly ignore return value of parse_proc_cmdline() CID# 1251162 --- src/shared/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/log.c b/src/shared/log.c index 26c604afd81..1c589ac4675 100644 --- a/src/shared/log.c +++ b/src/shared/log.c @@ -910,7 +910,7 @@ static int parse_proc_cmdline_item(const char *key, const char *value) { void log_parse_environment(void) { const char *e; - parse_proc_cmdline(parse_proc_cmdline_item); + (void) parse_proc_cmdline(parse_proc_cmdline_item); e = secure_getenv("SYSTEMD_LOG_TARGET"); if (e && log_set_target_from_string(e) < 0)