diff options
author | Patric Stout <truebrain@openttd.org> | 2021-10-16 22:06:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-16 22:06:08 +0200 |
commit | 78eece71d9f669057c794f345ff5744145376556 (patch) | |
tree | d5cbb1e948db2fa04fedd7d6281d2969b7c49cb6 /src/string_func.h | |
parent | d66dea5d832cbefd6f584848f3c0c88d99752afd (diff) | |
download | openttd-78eece71d9f669057c794f345ff5744145376556.tar.xz |
Codechange: "set but not used" warning when disabling assert() (#9613)
DebugCheckSanity() is unused when asserts are disabled. While at it,
use WITH_ASSERT over NDEBUG, as that means we also run this code
during beta/RC.
Diffstat (limited to 'src/string_func.h')
0 files changed, 0 insertions, 0 deletions