mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-23 17:34:00 +03:00
machine: fix -Wmaybe-uninitialized warning
The return value of machine_start_scope might be undefined if m->scope is non-NULL.
This commit is contained in:
parent
aba8b84e8d
commit
2c4c73b3ff
@ -221,7 +221,7 @@ static int machine_start_scope(Machine *m) {
|
||||
_cleanup_free_ char *description = NULL;
|
||||
DBusError error;
|
||||
char *job;
|
||||
int r;
|
||||
int r = 0;
|
||||
|
||||
assert(m);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user