aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/effects
diff options
context:
space:
mode:
authorGravatar djsollen <djsollen@google.com>2014-11-14 11:11:46 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-11-14 11:11:46 -0800
commitc87dd2ce965cd1bbc8a74abe0c141658a469d7f2 (patch)
treeb86faa0a75d89cfccffa9b4f5b4df70eb25d7a8c /include/effects
parent33068c19f1b8c18f000c18935ad11f1082534b5a (diff)
Enable unused param checking for public includes.
This CL cleans up the existing violations and enables the build time check to ensure that we don't regress. The motiviation behind this change is to allow clients who include our headers to be able to build with this warning enabled. Review URL: https://codereview.chromium.org/726923002
Diffstat (limited to 'include/effects')
-rw-r--r--include/effects/SkGradientShader.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/effects/SkGradientShader.h b/include/effects/SkGradientShader.h
index 8d1a93107d..2d2fefe5cf 100644
--- a/include/effects/SkGradientShader.h
+++ b/include/effects/SkGradientShader.h
@@ -58,7 +58,7 @@ public:
#ifdef SK_SUPPORT_LEGACY_GRADIENT_FACTORIES
static SkShader* CreateLinear(const SkPoint pts[2],
const SkColor colors[], const SkScalar pos[], int count,
- SkShader::TileMode mode, void* ignored,
+ SkShader::TileMode mode, void* /*ignored*/,
uint32_t flags, const SkMatrix* localMatrix) {
return CreateLinear(pts, colors, pos, count, mode, flags, localMatrix);
}
@@ -94,7 +94,7 @@ public:
#ifdef SK_SUPPORT_LEGACY_GRADIENT_FACTORIES
static SkShader* CreateRadial(const SkPoint& center, SkScalar radius,
const SkColor colors[], const SkScalar pos[], int count,
- SkShader::TileMode mode, void* ignored,
+ SkShader::TileMode mode, void* /*ignored*/,
uint32_t flags, const SkMatrix* localMatrix) {
return CreateRadial(center, radius, colors, pos, count, mode, flags, localMatrix);
}
@@ -137,7 +137,7 @@ public:
static SkShader* CreateTwoPointRadial(const SkPoint& start, SkScalar startRadius,
const SkPoint& end, SkScalar endRadius,
const SkColor colors[], const SkScalar pos[], int count,
- SkShader::TileMode mode, void* ignored,
+ SkShader::TileMode mode, void* /*ignored*/,
uint32_t flags, const SkMatrix* localMatrix) {
return CreateTwoPointRadial(start, startRadius, end, endRadius, colors, pos, count, mode,
flags, localMatrix);
@@ -168,7 +168,7 @@ public:
static SkShader* CreateTwoPointConical(const SkPoint& start, SkScalar startRadius,
const SkPoint& end, SkScalar endRadius,
const SkColor colors[], const SkScalar pos[], int count,
- SkShader::TileMode mode, void* ignored,
+ SkShader::TileMode mode, void* /*ignored*/,
uint32_t flags, const SkMatrix* localMatrix) {
return CreateTwoPointConical(start, startRadius, end, endRadius, colors, pos, count, mode,
flags, localMatrix);
@@ -202,7 +202,7 @@ public:
#ifdef SK_SUPPORT_LEGACY_GRADIENT_FACTORIES
static SkShader* CreateSweep(SkScalar cx, SkScalar cy,
const SkColor colors[], const SkScalar pos[], int count,
- void* ignored,
+ void* /*ignored*/,
uint32_t flags, const SkMatrix* localMatrix) {
return CreateSweep(cx, cy, colors, pos, count, flags, localMatrix);
}