bus: fix missing initialization
authorLennart Poettering <lennart@poettering.net>
Wed, 9 Oct 2013 02:04:10 +0000 (04:04 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 9 Oct 2013 02:08:00 +0000 (04:08 +0200)
src/libsystemd-bus/sd-bus.c

index 993c2e6..795007a 100644 (file)
@@ -3639,7 +3639,7 @@ static int add_object_vtable_internal(
                 sd_bus_object_find_t find,
                 void *userdata) {
 
-        struct node_vtable *c, *i;
+        struct node_vtable *c = NULL, *i;
         const sd_bus_vtable *v;
         struct node *n;
         int r;