Rebirth built with `gcc -fsanitize=undefined` warns when binding a reference to nullptr, even if that reference is never followed. This could be reproduced using a guided missile against the first PIG in Descent 2: Counterstrike level 1. This object pointer is used only to test for address equality, so nullptr is safe here. Switch to pass it as a pointer to prevent the warning. |
||
---|---|---|
common | ||
contrib | ||
d1x-rebirth | ||
d2x-rebirth | ||
Documentation | ||
similar | ||
.gitignore | ||
COPYING.txt | ||
GPL-3.txt | ||
INSTALL.markdown | ||
SConstruct |