]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
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 9d48621f01376e308742c5518f6de8b98779ca04..e1d2baea2f21eb8d73b82fc41a1d51fa81798943 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));