chiark / gitweb /
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 c0fa1b24b6c068e06923d05d0f2f39834ed4731e..cf38e3fb94022ff9ab49825a8d849e4adbb31feb 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) {