Skip to content

Commit

Permalink
Disable another -Wunreachable lemon warning
Browse files Browse the repository at this point in the history
  • Loading branch information
randstr committed Nov 17, 2022
1 parent 973748f commit 2443df7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions epan/dfilter/grammar.lemon
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@

#include "grammar.h"

/* Generated lemon code warns on this. */
DIAG_OFF(unreachable-code)

#ifdef _WIN32
#pragma warning(disable:4671)
#endif
Expand Down

0 comments on commit 2443df7

Please sign in to comment.