]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
forecast: Fix build with DEBUG_LEVEL < 2
authorTobias Brunner <tobias@strongswan.org>
Wed, 3 May 2023 10:16:15 +0000 (12:16 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 8 May 2023 15:32:17 +0000 (17:32 +0200)
src/libcharon/plugins/forecast/forecast_forwarder.c

index 0fd199b36d48d3b56dbeda6f4da22ffdd903b171..e1c5ae4651ca11fd855ec8e888c1a5fa441b9ea9 100644 (file)
@@ -162,7 +162,7 @@ CALLBACK(receive_casts, bool,
                struct iphdr hdr;
                char data[2048];
        } buf;
-       char *type;
+       char *type DBG_UNUSED;
        ssize_t len;
        u_int mark, origin = 0;
        host_t *src, *dst;