chiark / gitweb /
STRV_FOREACH_BACWARDS: start at the tail of the list
[elogind.git] / src / core / manager.c
index 01db2b0be9b640f0372c242ac239aab75b6c482f..60c22e31d7caa61807e71d562502aed2931690ad 100644 (file)
@@ -2062,7 +2062,7 @@ void manager_dispatch_bus_query_pid_done(
 
 int manager_open_serialization(Manager *m, FILE **_f) {
         char *path = NULL;
-        int fd;
+        int fd = -1;
         FILE *f;
 
         assert(_f);