aboutsummaryrefslogtreecommitdiffstats
path: root/src/sec-updater/sec-updater.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2017-09-14 19:25:42 +0200
committerTobias Brunner <tobias@strongswan.org>2017-09-18 12:16:54 +0200
commitc21fff303aa09aca6495643fe98fb5e164b4f6c1 (patch)
treebd42efa81b45301bbe1145a63b29a8349598b417 /src/sec-updater/sec-updater.c
parente433d512f4b184d3591bd78be6d74b55a84d5d03 (diff)
downloadstrongswan-c21fff303aa09aca6495643fe98fb5e164b4f6c1.tar.bz2
strongswan-c21fff303aa09aca6495643fe98fb5e164b4f6c1.tar.xz
sec-updater: Make sure `success` is initialized
Diffstat (limited to 'src/sec-updater/sec-updater.c')
-rw-r--r--src/sec-updater/sec-updater.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sec-updater/sec-updater.c b/src/sec-updater/sec-updater.c
index 9d48621f0..e1d2baea2 100644
--- a/src/sec-updater/sec-updater.c
+++ b/src/sec-updater/sec-updater.c
@@ -255,7 +255,7 @@ static int process_packages(char *path, char *os, char *arch, char *uri,
chunk_t deb = chunk_empty;
FILE *file;
stats_t stats;
- bool success, new;
+ bool success = TRUE, new;
/* initialize statistics */
memset(&stats, 0x00, sizeof(stats_t));