summaryrefslogtreecommitdiff
path: root/cmake/scripts
diff options
context:
space:
mode:
authorTechGeekNZ <git@tech.geek.nz>2020-07-24 08:51:27 +1200
committerCharles Pigott <charlespigott@googlemail.com>2020-07-27 17:25:58 +0100
commitc0bf7cc840744c6b980639641561610cc1435eba (patch)
tree9b7725030cd5f02c9c1669a7640ff4703ef2aaa0 /cmake/scripts
parenta56bf35409919212da9907fcdd9bc33929b4ac86 (diff)
downloadopenttd-c0bf7cc840744c6b980639641561610cc1435eba.tar.xz
Fix: GCC warns about possibly uninitialized data in signal.cpp
When compiling with '-Og', GCC warns about variables that are initialized by reference in the condition of a 'while' loop. This commit silences the warning by explicitly initializing the variables in question to their respective 'invalid value' markers, which will most likely be optimized out when the compiler realizes the values are never used.
Diffstat (limited to 'cmake/scripts')
0 files changed, 0 insertions, 0 deletions