summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@qasl.de>2010-06-02 18:54:50 +0200
committerLennart Poettering <lennart@poettering.net>2010-06-02 18:54:50 +0200
commit2c7c61442e6b46571b1f53db05ef7a23227bebe2 (patch)
tree367f8aedf33a173086debef2ab175b300375b7ee
parenta45a909fbbe11ad8c75cda5639d875476ac65453 (diff)
swap: Fix uninitialized variable
-rw-r--r--src/swap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/swap.c b/src/swap.c
index 2c7e4924d6..c35a8e785a 100644
--- a/src/swap.c
+++ b/src/swap.c
@@ -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;