chiark / gitweb /
bus: fix uninitialized variable
authorLennart Poettering <lennart@poettering.net>
Fri, 22 Mar 2013 01:20:39 +0000 (02:20 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 22 Mar 2013 01:20:39 +0000 (02:20 +0100)
src/libsystemd-bus/sd-bus.c

index 4bfbd4c..9408806 100644 (file)
@@ -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);