diff options
author | Tobias Brunner <tobias@strongswan.org> | 2017-09-14 19:25:42 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2017-09-18 12:16:54 +0200 |
commit | c21fff303aa09aca6495643fe98fb5e164b4f6c1 (patch) | |
tree | bd42efa81b45301bbe1145a63b29a8349598b417 /src/sec-updater/sec-updater.c | |
parent | e433d512f4b184d3591bd78be6d74b55a84d5d03 (diff) | |
download | strongswan-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.c | 2 |
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)); |