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

Unified Diff: src/ports/SkFontHost_win.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/opts/SkBlitRect_opts_SSE2.cpp ('k') | src/utils/win/SkWGL_win.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ports/SkFontHost_win.cpp
===================================================================
--- src/ports/SkFontHost_win.cpp (revision 8271)
+++ src/ports/SkFontHost_win.cpp (working copy)
@@ -426,7 +426,7 @@
SelectObject(fDC, fFont);
COLORREF color = 0x00FFFFFF;
- COLORREF prev = SetTextColor(fDC, color);
+ SkDEBUGCODE(COLORREF prev =) SetTextColor(fDC, color);
SkASSERT(prev != CLR_INVALID);
}
« no previous file with comments | « src/opts/SkBlitRect_opts_SSE2.cpp ('k') | src/utils/win/SkWGL_win.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698