summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/RenderProxy.cpp
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-11-10 15:23:43 -0800
committerAndreas Gampe <agampe@google.com>2014-11-10 15:58:04 -0800
commit1e19674107e1aa2224c2b8c7d12bfa057efe80ea (patch)
tree512f1a8a715497c2cde26d6ca070d923fd9c3a45 /libs/hwui/renderthread/RenderProxy.cpp
parent487ae9b8dc3e08c1a830d519a801a07cd59c8f2b (diff)
Frameworks/base: Wall Werror in libs/hwui
Turn on -Wall -Werror in libs/hwui. Fix errors. Change-Id: I74962d08c889712dacbd0d86d6760fc10802b6bd
Diffstat (limited to 'libs/hwui/renderthread/RenderProxy.cpp')
-rw-r--r--libs/hwui/renderthread/RenderProxy.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/hwui/renderthread/RenderProxy.cpp b/libs/hwui/renderthread/RenderProxy.cpp
index 047819de239a..c6ea82bbff30 100644
--- a/libs/hwui/renderthread/RenderProxy.cpp
+++ b/libs/hwui/renderthread/RenderProxy.cpp
@@ -349,8 +349,12 @@ CREATE_BRIDGE0(fence) {
return NULL;
}
+template <typename T>
+void UNUSED(T t) {}
+
void RenderProxy::fence() {
SETUP_TASK(fence);
+ UNUSED(args);
postAndWait(task);
}