chiark / gitweb /
unit: when destructing units make sure we don't readd the unit to the gc queue after...
[elogind.git] / src / swap.c
index 2c7e4924d6b4fab2d380b3b6816eed8df8ec5580..c35a8e785a6708099c1eb9f8974a60dd06438d26 100644 (file)
@@ -246,7 +246,7 @@ int swap_add_one(
                 bool from_proc_swaps) {
         Unit *u = NULL;
         char *e = NULL, *w = NULL;
-        bool delete;
+        bool delete = false;
         int r;
         SwapParameters *p;