summaryrefslogtreecommitdiff
path: root/core/src/fxge/dib/fx_dib_composite.cpp
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2014-07-29 08:55:54 -0700
committerNico Weber <thakis@chromium.org>2014-07-29 08:55:54 -0700
commitc77e8f73397613f278eaeef2cae44debc6a684c8 (patch)
tree325d52616e193459f3cb248ce910852333d5d59d /core/src/fxge/dib/fx_dib_composite.cpp
parent3b07e751353a12d1b4605abfa96881c8eae1bbe5 (diff)
downloadpdfium-c77e8f73397613f278eaeef2cae44debc6a684c8.tar.xz
Remove a few unused variables, functions, and tables.
Found by clang's -Wunused-variable, -Wunused-function, -Wunused-const-variable. BUG=none R=bo_xu@foxitsoftware.com Review URL: https://codereview.chromium.org/404653005
Diffstat (limited to 'core/src/fxge/dib/fx_dib_composite.cpp')
-rw-r--r--core/src/fxge/dib/fx_dib_composite.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/src/fxge/dib/fx_dib_composite.cpp b/core/src/fxge/dib/fx_dib_composite.cpp
index da555de9d5..375b7c110e 100644
--- a/core/src/fxge/dib/fx_dib_composite.cpp
+++ b/core/src/fxge/dib/fx_dib_composite.cpp
@@ -2951,7 +2951,6 @@ inline void _CompositeRow_Argb2Rgb_Blend_RgbByteOrder(FX_LPBYTE dest_scan, FX_LP
}
inline void _CompositeRow_Rgb2Argb_NoBlend_NoClip_RgbByteOrder(FX_LPBYTE dest_scan, FX_LPCBYTE src_scan, int width, int src_Bpp)
{
- int src_gap = src_Bpp - 3;
for (int col = 0; col < width; col ++) {
if (src_Bpp == 4) {
FXARGB_SETRGBORDERDIB(dest_scan, 0xff000000 | FXARGB_GETDIB(src_scan));