| commit | b58a639b2fbe919489654bb506efdb024a308a8e | [log] [tgz] |
|---|---|---|
| author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Mar 21 20:29:05 2013 +0000 |
| committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Mar 21 20:29:05 2013 +0000 |
| tree | 0ff26896740fb590bed0e9dda85ecd930b7092bd | |
| parent | 0042b9c2a2e6fe954cdfbcd5a5b7449cdf41a4c3 [diff] [blame] |
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
diff --git a/src/device/xps/SkXPSDevice.cpp b/src/device/xps/SkXPSDevice.cpp index 30ac330..f0afe69 100644 --- a/src/device/xps/SkXPSDevice.cpp +++ b/src/device/xps/SkXPSDevice.cpp
@@ -950,7 +950,7 @@ 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;