summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-07-06 14:12:28 +0200
committerTom Gundersen <teg@jklm.no>2014-07-06 14:12:28 +0200
commitf14aa1f1b2e4e99ee20393871b5f64f1378ed6c3 (patch)
treee240038085431978d96823012883ee06bcd89715 /src
parent108e8cd11e88bd4795a62bf335921d438592601c (diff)
machine: don't return uninitialized variable
Repotred by Ronny Chevalier
Diffstat (limited to 'src')
-rw-r--r--src/machine/machine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/machine/machine.c b/src/machine/machine.c
index c0fa1b24b6..cf38e3fb94 100644
--- a/src/machine/machine.c
+++ b/src/machine/machine.c
@@ -371,7 +371,7 @@ static int machine_stop_scope(Machine *m) {
free(m->scope_job);
m->scope_job = job;
- return r;
+ return 0;
}
int machine_stop(Machine *m) {