Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Unified Diff: src/opts/SkBlitRect_opts_SSE2.cpp

Issue 12536008: Enable init'ed but unused var warning on windows for closer parity with mac/linux warnings. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/device/xps/SkXPSDevice.cpp ('k') | src/ports/SkFontHost_win.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/opts/SkBlitRect_opts_SSE2.cpp
===================================================================
--- src/opts/SkBlitRect_opts_SSE2.cpp (revision 8271)
+++ src/opts/SkBlitRect_opts_SSE2.cpp (working copy)
@@ -118,7 +118,8 @@
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);
« no previous file with comments | « src/device/xps/SkXPSDevice.cpp ('k') | src/ports/SkFontHost_win.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698