summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/RenderProxy.cpp
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-11-21 21:38:42 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-11-21 21:38:42 +0000
commit99377df12ee696e01cd9071132f122801a9862ce (patch)
tree01769a67c494fe1f8264581d4f01e94705ce9c5f /libs/hwui/renderthread/RenderProxy.cpp
parente606a7884dff4acc926cb82bf6492e83e9a1d3af (diff)
parentd2738eadc1f8c92c64d47429ef3f168738431809 (diff)
am d2738ead: Merge "Frameworks/base: Unused parameters in hwui"
* commit 'd2738eadc1f8c92c64d47429ef3f168738431809': Frameworks/base: Unused parameters in hwui
Diffstat (limited to 'libs/hwui/renderthread/RenderProxy.cpp')
-rw-r--r--libs/hwui/renderthread/RenderProxy.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/libs/hwui/renderthread/RenderProxy.cpp b/libs/hwui/renderthread/RenderProxy.cpp
index c6ea82bbff30..8fd39cd4c053 100644
--- a/libs/hwui/renderthread/RenderProxy.cpp
+++ b/libs/hwui/renderthread/RenderProxy.cpp
@@ -344,14 +344,16 @@ void RenderProxy::trimMemory(int level) {
}
}
+template <typename T>
+void UNUSED(T) {}
+
+
CREATE_BRIDGE0(fence) {
// Intentionally empty
+ UNUSED(args);
return NULL;
}
-template <typename T>
-void UNUSED(T t) {}
-
void RenderProxy::fence() {
SETUP_TASK(fence);
UNUSED(args);