diff options
author | weili <weili@chromium.org> | 2016-04-22 19:18:31 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-22 19:18:31 -0700 |
commit | 14f5aeb5a46f330bd9386cd698fa25da3775d909 (patch) | |
tree | 75c97c17bedf5ba4f35899d06620d28b28ef7510 /xfa/fxfa/parser/xfa_utils_imp_unittest.cpp | |
parent | 90c964fb069bfa9934493481f8ccfefef9c3b3fe (diff) | |
download | pdfium-14f5aeb5a46f330bd9386cd698fa25da3775d909.tar.xz |
Change 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.
Review URL: https://codereview.chromium.org/1915693002
Diffstat (limited to 'xfa/fxfa/parser/xfa_utils_imp_unittest.cpp')
0 files changed, 0 insertions, 0 deletions