chiark / gitweb /
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 993c2e62ae6198fa936b5c80bce8d80a5794e241..795007acc4ae52ccb8199d9faea7efe2aa9e4f33 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;