diff options
author | Daniel Bratell <bratell@opera.com> | 2018-02-12 14:48:04 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-02-12 14:48:04 +0000 |
commit | 9e705dfe91b1cc36a3333c963500a656a0e635a8 (patch) | |
tree | 2adb1f4f8464dc3927b5e8e2de27c38a227fe2c4 /core/fxcrt/widestring_unittest.cpp | |
parent | f6ecadb7aea68fb322bfa1dfce703a24cbd1e395 (diff) | |
download | pdfium-9e705dfe91b1cc36a3333c963500a656a0e635a8.tar.xz |
Rearrange allocator functions to avoid unreachable code
FX_AllocOrDie, FX_AllocOrDie2D and FX_ReallocOrDie contained
unreachable code which in jumbo builds with some Visual Studio
versions/configurations resulted in a compiler warning.
By reordering the code, the unreachable code can be removed.
Bug: pdfium:964
Change-Id: I8c040a31ea6af0ca896d8f68297e263719d6bdfa
Reviewed-on: https://pdfium-review.googlesource.com/26190
Reviewed-by: Lei Zhang <thestig@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxcrt/widestring_unittest.cpp')
0 files changed, 0 insertions, 0 deletions