summaryrefslogtreecommitdiff
path: root/third_party/pymock
diff options
context:
space:
mode:
authorDaniel Bratell <bratell@opera.com>2018-02-12 14:48:04 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-02-12 14:48:04 +0000
commit9e705dfe91b1cc36a3333c963500a656a0e635a8 (patch)
tree2adb1f4f8464dc3927b5e8e2de27c38a227fe2c4 /third_party/pymock
parentf6ecadb7aea68fb322bfa1dfce703a24cbd1e395 (diff)
downloadpdfium-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 'third_party/pymock')
0 files changed, 0 insertions, 0 deletions