diff options
author | 2013-03-21 20:29:05 +0000 | |
---|---|---|
committer | 2013-03-21 20:29:05 +0000 | |
commit | b58a639b2fbe919489654bb506efdb024a308a8e (patch) | |
tree | 0ff26896740fb590bed0e9dda85ecd930b7092bd /src/opts/SkBlitRect_opts_SSE2.cpp | |
parent | 0042b9c2a2e6fe954cdfbcd5a5b7449cdf41a4c3 (diff) |
Enable init'ed but unused var warning on windows for closer parity with mac/linux warnings.
Review URL: https://codereview.chromium.org/12536008
git-svn-id: http://skia.googlecode.com/svn/trunk@8307 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/opts/SkBlitRect_opts_SSE2.cpp')
-rw-r--r-- | src/opts/SkBlitRect_opts_SSE2.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/opts/SkBlitRect_opts_SSE2.cpp b/src/opts/SkBlitRect_opts_SSE2.cpp index cb61813871..3cb2b9c6d0 100644 --- a/src/opts/SkBlitRect_opts_SSE2.cpp +++ b/src/opts/SkBlitRect_opts_SSE2.cpp @@ -118,7 +118,8 @@ void ColorRect32_SSE2(SkPMColor* destination, return; } unsigned colorA = SkGetPackedA32(color); - if (false && 255 == colorA) { // disabled but compilable to suppress warning + colorA = 0; // skip below if () for now...(has been disabled since this was added in r3423). + if (255 == colorA) { if (width < 31) { BlitRect32_OpaqueNarrow_SSE2(destination, width, height, rowBytes, color); |