1
1
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:
Dave Reisner 2013-07-02 13:50:00 -04:00
parent aba8b84e8d
commit 2c4c73b3ff

View File

@ -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);