diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2018-02-16 03:46:28 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-02-16 03:46:28 +0000 |
commit | 067a44fcad9196c6ad8cc3b2f86261b78ae54f48 (patch) | |
tree | 8e04bf7d5c20701fee0f688411edeea4b74caa47 /core/fxcodec/bmp | |
parent | 844d79e853074c99b7e5e64e051f1e1236c1723e (diff) | |
download | pdfium-067a44fcad9196c6ad8cc3b2f86261b78ae54f48.tar.xz |
Fix fallthroughs in XFA code.chromium/3350
Change-Id: I1fd4bf85cd709de1c14ed2895d045018f79bc61f
Reviewed-on: https://pdfium-review.googlesource.com/26950
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'core/fxcodec/bmp')
-rw-r--r-- | core/fxcodec/bmp/cfx_bmpdecompressor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/fxcodec/bmp/cfx_bmpdecompressor.cpp b/core/fxcodec/bmp/cfx_bmpdecompressor.cpp index 0391258330..ea6e2ba0bb 100644 --- a/core/fxcodec/bmp/cfx_bmpdecompressor.cpp +++ b/core/fxcodec/bmp/cfx_bmpdecompressor.cpp @@ -205,12 +205,14 @@ int32_t CFX_BmpDecompressor::ReadHeader() { Error(); NOTREACHED(); } + break; } case 32: break; default: Error(); NOTREACHED(); + break; } src_row_bytes_ = BMP_WIDTHBYTES(width_, bit_counts_); switch (bit_counts_) { |