diff options
author | Dave Reisner <dreisner@archlinux.org> | 2013-07-02 13:50:00 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2013-07-02 13:50:54 -0400 |
commit | 2c4c73b3ffa123cc5c69f5749c58706aafb3f257 (patch) | |
tree | d68d95dd998e65ba53045443bda4a20f8cd29a91 /src/machine/machine.c | |
parent | aba8b84e8d72224445b67646974b9dabc0972187 (diff) |
machine: fix -Wmaybe-uninitialized warning
The return value of machine_start_scope might be undefined if m->scope
is non-NULL.
Diffstat (limited to 'src/machine/machine.c')
-rw-r--r-- | src/machine/machine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/machine/machine.c b/src/machine/machine.c index f33ad54db8..d75c338189 100644 --- a/src/machine/machine.c +++ b/src/machine/machine.c @@ -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); |