From: Lennart Poettering Date: Fri, 7 Nov 2014 15:33:03 +0000 (+0100) Subject: log: explicitly ignore return value of parse_proc_cmdline() X-Git-Tag: v218~498 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=f9aa5413807e163df49171793eb93a230cd7b955;p=elogind.git log: explicitly ignore return value of parse_proc_cmdline() CID# 1251162 --- diff --git a/src/shared/log.c b/src/shared/log.c index 26c604afd..1c589ac46 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)