bus: fix missing variable initialization

This commit is contained in:
Lennart Poettering
2013-03-26 03:42:03 +01:00
parent b56c267ffb
commit 5a0f6033be
+3 -1
View File
@@ -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] */