summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-03-22 02:20:39 +0100
committerLennart Poettering <lennart@poettering.net>2013-03-22 02:20:39 +0100
commit2bf938c1913b2ba9644cc113de8dc30dd10abbd4 (patch)
tree387c1711f90aaf805010850bedcb04ac8fa338a4 /src/libsystemd-bus
parentdafb75912a65e72c3989143f79367a652323a69f (diff)
bus: fix uninitialized variable
Diffstat (limited to 'src/libsystemd-bus')
-rw-r--r--src/libsystemd-bus/sd-bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-bus/sd-bus.c b/src/libsystemd-bus/sd-bus.c
index 4bfbd4c651..9408806a4e 100644
--- a/src/libsystemd-bus/sd-bus.c
+++ b/src/libsystemd-bus/sd-bus.c
@@ -1035,7 +1035,7 @@ static int dispatch_wqueue(sd_bus *bus) {
}
static int dispatch_rqueue(sd_bus *bus, sd_bus_message **m) {
- sd_bus_message *z;
+ sd_bus_message *z = NULL;
int r, ret = 0;
assert(bus);