]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
sec-updater: Fix build with DEBUG_LEVEL < 1
authorTobias Brunner <tobias@strongswan.org>
Tue, 2 May 2023 12:16:02 +0000 (14:16 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 8 May 2023 15:32:18 +0000 (17:32 +0200)
src/sec-updater/sec-updater.c

index fd0a86372229fe6bb1eeb8b65e91f97f1fe5bae8..1df442a21411211c33d51c4ca6d93e807cb8b086 100644 (file)
@@ -173,7 +173,7 @@ static bool update_database(database_t *db, char *package, char *version,
        while (e->enumerate(e, &vid, &release, &sec_flag))
        {
                char command[BUF_LEN];
-               char found_char = ' ';
+               char found_char DBG_UNUSED = ' ';
                bool update_version = FALSE;
 
                if (streq(version, release))