summaryrefslogtreecommitdiffstats
path: root/libs/hwui/PathCache.cpp
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-11-11 02:37:46 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-11-11 02:37:46 +0000
commit1d03b816fea1b964cc5db4d11ddcba9b25f45d99 (patch)
treec5c969c825c0e47096ca90d8edc1e02df2053d40 /libs/hwui/PathCache.cpp
parent6957369d137c1dead21a653ad902ae589bb7e51f (diff)
parent1e19674107e1aa2224c2b8c7d12bfa057efe80ea (diff)
downloadframeworks_base-1d03b816fea1b964cc5db4d11ddcba9b25f45d99.zip
frameworks_base-1d03b816fea1b964cc5db4d11ddcba9b25f45d99.tar.gz
frameworks_base-1d03b816fea1b964cc5db4d11ddcba9b25f45d99.tar.bz2
Merge "Frameworks/base: Wall Werror in libs/hwui"
Diffstat (limited to 'libs/hwui/PathCache.cpp')
-rw-r--r--libs/hwui/PathCache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/PathCache.cpp b/libs/hwui/PathCache.cpp
index 9ba8854..a3d7019 100644
--- a/libs/hwui/PathCache.cpp
+++ b/libs/hwui/PathCache.cpp
@@ -212,7 +212,7 @@ void PathCache::removeTexture(PathTexture* texture) {
// before attempting our cleanup
const sp<Task<SkBitmap*> >& task = texture->task();
if (task != NULL) {
- SkBitmap* bitmap = task->getResult();
+ task->getResult();
texture->clearTask();
} else {
// If there is a pending task, the path was not added