diff options
author | jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-02-05 21:05:04 +0000 |
---|---|---|
committer | jvanverth@google.com <jvanverth@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-02-05 21:05:04 +0000 |
commit | a4d18ddb23fa4109d4351f79eadb46464d3a8440 (patch) | |
tree | b0eb9bf89121448ff408f0a9ef30bd6472f95206 /src/gpu | |
parent | 7374355408dd552c773db10ff599699183ba4a46 (diff) |
Reinstate r7546: fix unused variable warning
https://codereview.appspot.com/7309051
git-svn-id: http://skia.googlecode.com/svn/trunk@7602 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu')
-rw-r--r-- | src/gpu/GrContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp index fdea1a8e91..b3f2b4199e 100644 --- a/src/gpu/GrContext.cpp +++ b/src/gpu/GrContext.cpp @@ -1426,7 +1426,7 @@ bool GrContext::readRenderTargetPixels(GrRenderTarget* target, SkCanvas::Config8888 srcC8888 = SkCanvas::kNative_Premul_Config8888; SkCanvas::Config8888 dstC8888 = SkCanvas::kNative_Premul_Config8888; - bool c8888IsValid = grconfig_to_config8888(config, false, &srcC8888); + SkDEBUGCODE(bool c8888IsValid =) grconfig_to_config8888(config, false, &srcC8888); grconfig_to_config8888(config, unpremul, &dstC8888); if (swapRAndB) { |