sec-updater: Make sure `success` is initialized
authorTobias Brunner <tobias@strongswan.org>
Thu, 14 Sep 2017 17:25:42 +0000 (19:25 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 18 Sep 2017 10:16:54 +0000 (12:16 +0200)
src/sec-updater/sec-updater.c

index 9d48621..e1d2bae 100644 (file)
@@ -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));