aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkStream.h
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/core/SkStream.h
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/core/SkStream.h')
-rw-r--r--include/core/SkStream.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/core/SkStream.h b/include/core/SkStream.h
index 8e3f375519..913286bdb4 100644
--- a/include/core/SkStream.h
+++ b/include/core/SkStream.h
@@ -102,13 +102,13 @@ public:
* If an attempt is made to seek past the end of the stream, the position will be set
* to the end of the stream.
*/
- virtual bool seek(size_t position) { return false; }
+ virtual bool seek(size_t /*position*/) { return false; }
/** Seeks to an relative offset in the stream. If this cannot be done, returns false.
* If an attempt is made to move to a position outside the stream, the position will be set
* to the closest point within the stream (beginning or end).
*/
- virtual bool move(long offset) { return false; }
+ virtual bool move(long /*offset*/) { return false; }
/** Duplicates this stream. If this cannot be done, returns NULL.
* The returned stream will be positioned the same as this stream.