summaryrefslogtreecommitdiffstats
path: root/libs/hwui/RenderNode.cpp
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-11-21 09:49:08 -0800
committerAndreas Gampe <agampe@google.com>2014-11-21 10:39:21 -0800
commit42ddc18d108f789705ad4eb697ce9599ad322507 (patch)
tree53ed2c03a53112f6bfd515a6d03b02dfed0cc9e9 /libs/hwui/RenderNode.cpp
parentf926d71b8ef2790da067550144860705c1a61fe5 (diff)
downloadframeworks_base-42ddc18d108f789705ad4eb697ce9599ad322507.zip
frameworks_base-42ddc18d108f789705ad4eb697ce9599ad322507.tar.gz
frameworks_base-42ddc18d108f789705ad4eb697ce9599ad322507.tar.bz2
Frameworks/base: Unused parameters in hwui
Remove Clang cutout for unused parameters. Fix warnings. Remove Clang cutout for deprecated Skia function usage. Has been fixed in the L push. Change-Id: I7ea073ff67127cc1e14e798b655e2c50615fe8e7
Diffstat (limited to 'libs/hwui/RenderNode.cpp')
-rw-r--r--libs/hwui/RenderNode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/RenderNode.cpp b/libs/hwui/RenderNode.cpp
index 22808e2..28394e5 100644
--- a/libs/hwui/RenderNode.cpp
+++ b/libs/hwui/RenderNode.cpp
@@ -274,7 +274,7 @@ void RenderNode::pushStagingPropertiesChanges(TreeInfo& info) {
}
}
-void RenderNode::applyLayerPropertiesToLayer(TreeInfo& info) {
+void RenderNode::applyLayerPropertiesToLayer(TreeInfo& /* info */) {
if (CC_LIKELY(!mLayer)) return;
const LayerProperties& props = properties().layerProperties();
@@ -567,7 +567,7 @@ public:
operation->defer(mDeferStruct, saveCount, mLevel, clipToBounds);
}
inline LinearAllocator& allocator() { return *(mDeferStruct.mAllocator); }
- inline void startMark(const char* name) {} // do nothing
+ inline void startMark(const char* /* name */) {} // do nothing
inline void endMark() {}
inline int level() { return mLevel; }
inline int replayFlags() { return mDeferStruct.mReplayFlags; }