]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
eap-sim-file: Fix build with DEBUG_LEVEL < 1
authorTobias Brunner <tobias@strongswan.org>
Mon, 13 Jan 2025 13:38:54 +0000 (14:38 +0100)
committerTobias Brunner <tobias@strongswan.org>
Mon, 13 Jan 2025 14:04:13 +0000 (15:04 +0100)
src/libcharon/plugins/eap_sim_file/eap_sim_file_triplets.c

index 7c71a7896556b5b6c31b7b2f01ee07b076b3472d..3718a849fa03bbecdf13685abd9568c799823606 100644 (file)
@@ -157,7 +157,7 @@ static bool read_triplets(private_eap_sim_file_triplets_t *this, char *path)
 {
        char line[512];
        FILE *file;
-       int i, nr = 0;
+       int i, nr DBG_UNUSED = 0;
 
        file = fopen(path, "r");
        if (file == NULL)