aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
authorJoão Valverde <j@v6e.pt>2022-11-17 00:04:39 +0000
committerJoão Valverde <j@v6e.pt>2022-11-17 01:35:16 +0000
commit09718fb9b3d27e87e2a51730c4618de2e7d2c023 (patch)
treee00f9f7faeb83dbbf402f27b6a248cf3126d9f25 /wiretap
parent671bb9f19026fa493f6869739ed0c81c2661ce09 (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.lemon3
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