chiark / gitweb /
make gcc shut up
[elogind.git] / src / core / dbus-manager.c
index 6abd5993706726f84c91d804c75c99fda212d08f..a9b8fad25c0f0f50880d8140acfaa04c8855e75a 100644 (file)
@@ -873,7 +873,7 @@ static int method_create_snapshot(sd_bus *bus, sd_bus_message *message, void *us
         Manager *m = userdata;
         const char *name;
         int cleanup;
-        Snapshot *s;
+        Snapshot *s = NULL;
         int r;
 
         assert(bus);