[systemd-devel] [PATCH] machine: fix uninitialized variable
Ronny Chevalier
chevalier.ronny at gmail.com
Sun Jul 6 04:33:37 PDT 2014
---
src/machine/machine.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/machine/machine.c b/src/machine/machine.c
index c0fa1b2..7e90d61 100644
--- a/src/machine/machine.c
+++ b/src/machine/machine.c
@@ -353,7 +353,7 @@ int machine_start(Machine *m, sd_bus_message *properties, sd_bus_error *error) {
static int machine_stop_scope(Machine *m) {
_cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL;
char *job = NULL;
- int r;
+ int r = 0;
assert(m);
--
2.0.1
More information about the systemd-devel
mailing list