summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;