aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/device/xps
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-21 20:29:05 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-21 20:29:05 +0000
commitb58a639b2fbe919489654bb506efdb024a308a8e (patch)
tree0ff26896740fb590bed0e9dda85ecd930b7092bd /src/device/xps
parent0042b9c2a2e6fe954cdfbcd5a5b7449cdf41a4c3 (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/device/xps')
-rw-r--r--src/device/xps/SkXPSDevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/xps/SkXPSDevice.cpp b/src/device/xps/SkXPSDevice.cpp
index 30ac3305ee..f0afe69d8a 100644
--- a/src/device/xps/SkXPSDevice.cpp
+++ b/src/device/xps/SkXPSDevice.cpp
@@ -950,7 +950,7 @@ HRESULT SkXPSDevice::createXpsBrush(const SkPaint& skPaint,
SkASSERT(1 == info.fColorCount);
SkColor color;
info.fColors = &color;
- SkShader::GradientType gradientType = shader->asAGradient(&info);
+ shader->asAGradient(&info);
SkAlpha alpha = skPaint.getAlpha();
HR(this->createXpsSolidColorBrush(color, alpha, brush));
return S_OK;