DescriptionChange the code to avoid three unit test failures on release build
We have three failed unit tests -- FX_AllocOverflow(),
FX_AllocOverflow2D(), and FX_TryAllocOverflow() on Linux and Mac
release builds, because Clang aggressively optimizes the code.
Adding some usage of the return value of a function can avoid the function
being optimized away by Clang.
Committed: https://pdfium.googlesource.com/pdfium/+/14f5aeb5a46f330bd9386cd698fa25da3775d909
Patch Set 1 #
Depends on Patchset: Messages
Total messages: 9 (5 generated)
|