1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-27 10:25:06 +03:00

log: explicitly ignore return value of parse_proc_cmdline()

CID# 1251162
This commit is contained in:
Lennart Poettering 2014-11-07 16:33:03 +01:00
parent f0e62e8997
commit f9aa541380

View File

@ -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)