1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-07 18:27:04 +03:00

bus: fix missing variable initialization

This commit is contained in:
Lennart Poettering 2013-03-26 03:42:03 +01:00
parent b56c267ffb
commit 5a0f6033be

View File

@ -539,8 +539,10 @@ static int parse_exec_address(sd_bus *b, const char **p, char **guid) {
skip_address_key(p); skip_address_key(p);
} }
if (!path) if (!path) {
r = -EINVAL;
goto fail; goto fail;
}
/* Make sure there are no holes in the array, with the /* Make sure there are no holes in the array, with the
* exception of argv[0] */ * exception of argv[0] */