]> err.no Git - systemd/commitdiff
swap: Fix uninitialized variable
authorChristian Ruppert <idl0r@qasl.de>
Wed, 2 Jun 2010 16:54:50 +0000 (18:54 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 2 Jun 2010 16:54:50 +0000 (18:54 +0200)
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;