machine: don't return uninitialized variable
authorTom Gundersen <teg@jklm.no>
Sun, 6 Jul 2014 12:12:28 +0000 (14:12 +0200)
committerTom Gundersen <teg@jklm.no>
Sun, 6 Jul 2014 12:12:28 +0000 (14:12 +0200)
Repotred by Ronny Chevalier

src/machine/machine.c

index c0fa1b2..cf38e3f 100644 (file)
@@ -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) {