aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode
diff options
context:
space:
mode:
authorGravatar sugoi@google.com <sugoi@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-12 14:36:57 +0000
committerGravatar sugoi@google.com <sugoi@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-03-12 14:36:57 +0000
commit93c7ee34dc5c8f6bfad65809f4b39f8d00d7f0d4 (patch)
treed4352361bd821b020d856cc720feb3235f8d9203 /samplecode
parenta041b954ffd318ebbbee9aab1c11f8c563954a1f (diff)
Removed unused parameters
I removed unused parameters wherever it was trivial to do so. Review URL: https://codereview.chromium.org/12772003 git-svn-id: http://skia.googlecode.com/svn/trunk@8103 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'samplecode')
-rw-r--r--samplecode/SampleCircle.cpp2
-rw-r--r--samplecode/SampleEffects.cpp2
-rw-r--r--samplecode/SampleLayers.cpp2
-rw-r--r--samplecode/SampleRepeatTile.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/samplecode/SampleCircle.cpp b/samplecode/SampleCircle.cpp
index aca74603d3..f65ba01abc 100644
--- a/samplecode/SampleCircle.cpp
+++ b/samplecode/SampleCircle.cpp
@@ -15,7 +15,7 @@
// fractional, and the impl computes the center and radii, and uses them to
// reconstruct the edges of the circle.
// see bug# 1504910
-static void test_circlebounds(SkCanvas* canvas) {
+static void test_circlebounds(SkCanvas*) {
#ifdef SK_SCALAR_IS_FLOAT
SkRect r = { 1.39999998f, 1, 21.3999996f, 21 };
SkPath p;
diff --git a/samplecode/SampleEffects.cpp b/samplecode/SampleEffects.cpp
index 15ad809d17..1169725fa0 100644
--- a/samplecode/SampleEffects.cpp
+++ b/samplecode/SampleEffects.cpp
@@ -18,7 +18,7 @@
//#define COLOR 0xFFFF8844
#define COLOR 0xFF888888
-static void paint_proc0(SkPaint* paint) {
+static void paint_proc0(SkPaint*) {
}
static void paint_proc1(SkPaint* paint) {
diff --git a/samplecode/SampleLayers.cpp b/samplecode/SampleLayers.cpp
index b1311ee576..f72c519faf 100644
--- a/samplecode/SampleLayers.cpp
+++ b/samplecode/SampleLayers.cpp
@@ -260,7 +260,7 @@ protected:
return this->INHERITED::onClick(click);
}
- virtual bool handleKey(SkKey key) {
+ virtual bool handleKey(SkKey) {
this->inval(NULL);
return true;
}
diff --git a/samplecode/SampleRepeatTile.cpp b/samplecode/SampleRepeatTile.cpp
index c97c228ed7..988345c0fc 100644
--- a/samplecode/SampleRepeatTile.cpp
+++ b/samplecode/SampleRepeatTile.cpp
@@ -77,7 +77,7 @@ protected:
return this->INHERITED::onClick(click);
}
- virtual bool handleKey(SkKey key) {
+ virtual bool handleKey(SkKey) {
this->inval(NULL);
return true;
}