diff options
| author | Andreas Gampe <agampe@google.com> | 2014-11-10 15:23:43 -0800 |
|---|---|---|
| committer | Andreas Gampe <agampe@google.com> | 2014-11-10 15:58:04 -0800 |
| commit | 1e19674107e1aa2224c2b8c7d12bfa057efe80ea (patch) | |
| tree | 512f1a8a715497c2cde26d6ca070d923fd9c3a45 /libs/hwui/renderthread | |
| parent | 487ae9b8dc3e08c1a830d519a801a07cd59c8f2b (diff) | |
| download | frameworks_base-1e19674107e1aa2224c2b8c7d12bfa057efe80ea.zip frameworks_base-1e19674107e1aa2224c2b8c7d12bfa057efe80ea.tar.gz frameworks_base-1e19674107e1aa2224c2b8c7d12bfa057efe80ea.tar.bz2 | |
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')
| -rw-r--r-- | libs/hwui/renderthread/RenderProxy.cpp | 4 | ||||
| -rw-r--r-- | libs/hwui/renderthread/RenderTask.cpp | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/libs/hwui/renderthread/RenderProxy.cpp b/libs/hwui/renderthread/RenderProxy.cpp index 047819d..c6ea82b 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); } diff --git a/libs/hwui/renderthread/RenderTask.cpp b/libs/hwui/renderthread/RenderTask.cpp index 7ca61e4..13970ba 100644 --- a/libs/hwui/renderthread/RenderTask.cpp +++ b/libs/hwui/renderthread/RenderTask.cpp @@ -14,6 +14,10 @@ * limitations under the License. */ +// LOG_TAG is being provided by the Makefile, reset. +#ifdef LOG_TAG +#undef LOG_TAG +#endif #define LOG_TAG "RenderTask" #include "RenderTask.h" |
