]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
optionsfrom: Fix build with DEBUG_LEVEL < 1
authorTobias Brunner <tobias@strongswan.org>
Fri, 10 Jan 2025 17:52:45 +0000 (18:52 +0100)
committerTobias Brunner <tobias@strongswan.org>
Fri, 10 Jan 2025 17:53:57 +0000 (18:53 +0100)
src/libstrongswan/utils/optionsfrom.c

index 4408323973cb64f91f551b1cd141b52f0af00b9c..51d8e136651a7a96cf01be9664c624315da9a96f 100644 (file)
@@ -70,7 +70,7 @@ METHOD(options_t, from, bool,
        char **newargv;
        chunk_t src, line, token;
        bool good = TRUE;
-       int linepos = 0;
+       int linepos DBG_UNUSED = 0;
        FILE *fd;
 
        /* avoid endless loops with recursive --optionsfrom arguments */