diff options
author | João Valverde <j@v6e.pt> | 2022-11-17 00:04:39 +0000 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2022-11-17 01:35:16 +0000 |
commit | 09718fb9b3d27e87e2a51730c4618de2e7d2c023 (patch) | |
tree | e00f9f7faeb83dbbf402f27b6a248cf3126d9f25 /plugins | |
parent | 671bb9f19026fa493f6869739ed0c81c2661ce09 (diff) |
CMake: Move clang warnings
Move clang warnings to normal set. Let the CMake compatibility
check control the warning.
Fix or work-around -Wunreachable warnings in the code.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/epan/mate/mate_grammar.lemon | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/epan/mate/mate_grammar.lemon b/plugins/epan/mate/mate_grammar.lemon index 1a95b4db2c..802c6b8dab 100644 --- a/plugins/epan/mate/mate_grammar.lemon +++ b/plugins/epan/mate/mate_grammar.lemon @@ -26,6 +26,9 @@ #include <wsutil/file_util.h> #include <wsutil/str_util.h> +/* Generated lemon code warns on this. */ +DIAG_OFF(unreachable-code) + #define DUMMY void* typedef struct _extraction { |