[systemd-commits] src/machine
Tom Gundersen
tomegun at kemper.freedesktop.org
Sun Jul 6 05:13:16 PDT 2014
src/machine/machine.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f14aa1f1b2e4e99ee20393871b5f64f1378ed6c3
Author: Tom Gundersen <teg at jklm.no>
Date: Sun Jul 6 14:12:28 2014 +0200
machine: don't return uninitialized variable
Repotred by Ronny Chevalier
diff --git a/src/machine/machine.c b/src/machine/machine.c
index c0fa1b2..cf38e3f 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) {
More information about the systemd-commits
mailing list