journal-gatewayd: use (void) to silence coverity

CID #996297.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2015-04-12 22:46:37 -04:00
parent 4a61c3e51e
commit e51728b047

View file

@ -781,7 +781,7 @@ static int request_handler_machine(
return mhd_respondf(connection, MHD_HTTP_INTERNAL_SERVER_ERROR, "Failed to determine disk usage: %s\n", strerror(-r));
if (parse_env_file("/etc/os-release", NEWLINE, "PRETTY_NAME", &os_name, NULL) == -ENOENT)
parse_env_file("/usr/lib/os-release", NEWLINE, "PRETTY_NAME", &os_name, NULL);
(void) parse_env_file("/usr/lib/os-release", NEWLINE, "PRETTY_NAME", &os_name, NULL);
get_virtualization(&v);