diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-11-07 16:33:03 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-11-07 16:36:14 +0100 |
commit | f9aa5413807e163df49171793eb93a230cd7b955 (patch) | |
tree | 37011c8b014e25212e58bbae9a90499410d0db06 | |
parent | f0e62e89970b8c38eb07a9beebd277ce13a5fcc2 (diff) |
log: explicitly ignore return value of parse_proc_cmdline()
CID# 1251162
-rw-r--r-- | src/shared/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/log.c b/src/shared/log.c index 26c604afd8..1c589ac467 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) |