chiark / gitweb /
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 2c7e492..c35a8e7 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;