cleanup: Remove check_recursion, since tokstyle checks this now.

And tokstyle is better at it, covering not just direct recursion, but
also (most possible instances of) recursion through function pointers.
This commit is contained in:
iphydf
2022-04-25 18:19:17 +00:00
committed by sudden6
parent 7a5c1e8869
commit 7205db72e4
4 changed files with 2 additions and 125 deletions
+2
View File
@@ -15,6 +15,8 @@ add_flag -Wno-conversion
# TODO(iphydf): Check enum values when received from the user, then assume
# correctness and remove this suppression.
add_flag -Wno-covered-switch-default
# We use C99, so declarations can come after statements.
add_flag -Wno-declaration-after-statement
# Due to clang's tolower() macro being recursive
# https://github.com/TokTok/c-toxcore/pull/481
add_flag -Wno-disabled-macro-expansion