From c21fff303aa09aca6495643fe98fb5e164b4f6c1 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Thu, 14 Sep 2017 19:25:42 +0200 Subject: [PATCH] sec-updater: Make sure `success` is initialized --- src/sec-updater/sec-updater.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));