From: Christian Ruppert Date: Wed, 2 Jun 2010 16:54:50 +0000 (+0200) Subject: swap: Fix uninitialized variable X-Git-Tag: 0.git+20100605+dfd8ee-1~9^2^2~25 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c7c61442e6b46571b1f53db05ef7a23227bebe2;p=systemd swap: Fix uninitialized variable --- diff --git a/src/swap.c b/src/swap.c index 2c7e4924..c35a8e78 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;