From: Lennart Poettering Date: Tue, 26 Mar 2013 02:42:03 +0000 (+0100) Subject: bus: fix missing variable initialization X-Git-Tag: v199~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5a0f6033bed4c499f0b720e85f87ef9e46c5017e;p=thirdparty%2Fsystemd.git bus: fix missing variable initialization --- diff --git a/src/libsystemd-bus/sd-bus.c b/src/libsystemd-bus/sd-bus.c index c82b738e028..5f2ede088a3 100644 --- a/src/libsystemd-bus/sd-bus.c +++ b/src/libsystemd-bus/sd-bus.c @@ -539,8 +539,10 @@ static int parse_exec_address(sd_bus *b, const char **p, char **guid) { skip_address_key(p); } - if (!path) + if (!path) { + r = -EINVAL; goto fail; + } /* Make sure there are no holes in the array, with the * exception of argv[0] */