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 /wiretap | |
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 'wiretap')
-rw-r--r-- | wiretap/ascend_parser.lemon | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/wiretap/ascend_parser.lemon b/wiretap/ascend_parser.lemon index 08c77fea1a..f9192f210a 100644 --- a/wiretap/ascend_parser.lemon +++ b/wiretap/ascend_parser.lemon @@ -140,6 +140,9 @@ static void AscendParserFree(void *p, void (*freeProc)(void*)); #define ascend_debug(...) #endif +/* Generated lemon code warns on this. */ +DIAG_OFF(unreachable-code) + } // %include %name AscendParser |