chiark / gitweb /
log: explicitly ignore return value of parse_proc_cmdline()
authorLennart Poettering <lennart@poettering.net>
Fri, 7 Nov 2014 15:33:03 +0000 (16:33 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 7 Nov 2014 15:36:14 +0000 (16:36 +0100)
CID# 1251162

src/shared/log.c

index 26c604a..1c589ac 100644 (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)