chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
108e8cd
)
machine: don't return uninitialized variable
author
Tom Gundersen
<teg@jklm.no>
Sun, 6 Jul 2014 12:12:28 +0000
(14:12 +0200)
committer
Tom Gundersen
<teg@jklm.no>
Sun, 6 Jul 2014 12:12:28 +0000
(14:12 +0200)
Repotred by Ronny Chevalier
src/machine/machine.c
patch
|
blob
|
history
diff --git
a/src/machine/machine.c
b/src/machine/machine.c
index c0fa1b24b6c068e06923d05d0f2f39834ed4731e..cf38e3fb94022ff9ab49825a8d849e4adbb31feb 100644
(file)
--- 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) {