From 2443df73184f22d2a9b49e82e12a9ebb9dffeb14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Thu, 17 Nov 2022 10:56:43 +0000 Subject: [PATCH] Disable another -Wunreachable lemon warning --- epan/dfilter/grammar.lemon | 3 +++ 1 file changed, 3 insertions(+) diff --git a/epan/dfilter/grammar.lemon b/epan/dfilter/grammar.lemon index a2297895e29..3815587c576 100644 --- a/epan/dfilter/grammar.lemon +++ b/epan/dfilter/grammar.lemon @@ -15,6 +15,9 @@ #include "grammar.h" +/* Generated lemon code warns on this. */ +DIAG_OFF(unreachable-code) + #ifdef _WIN32 #pragma warning(disable:4671) #endif