diff options
author | Jonathan G Rennison <j.g.rennison@gmail.com> | 2018-06-06 08:22:58 +0100 |
---|---|---|
committer | PeterN <peter@fuzzle.org> | 2018-06-07 09:49:26 +0100 |
commit | 71450881fc9343430a1558193b4f4c9eb888a73d (patch) | |
tree | 56ce108637748a1e2a72985c204c8d92433e6b2b /Makefile.lang.in | |
parent | cd966f3810e21ab24b81379ae0837d95376d91b4 (diff) | |
download | openttd-71450881fc9343430a1558193b4f4c9eb888a73d.tar.xz |
Codechange: Avoid call to memcpy using null pointer in TooltipsWindow constructor
Strictly speaking, calling memcpy with src as a nullptr is undefined behaviour
and the optimiser is entitled to delete any null ptr checks which occur afterwards.
This removes the warning emitted by UndefinedBehaviorSantizer.
Diffstat (limited to 'Makefile.lang.in')
0 files changed, 0 insertions, 0 deletions