From ea30eb29f87618de673e8b069b1a545749edf076 Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Mon, 27 Jul 2015 18:22:08 -0700 Subject: [PATCH] Hwui: Remove unused variables For build-system CFLAGS clean-up, remove unused variables. Bug: 18632512 (cherry picked from commit cb4af9b10ab17187288d8f5ccb4cc1e465be9a51) Change-Id: Ic58bedc84234325512193991fc64315e3aad6f9e --- libs/hwui/FontRenderer.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/libs/hwui/FontRenderer.cpp b/libs/hwui/FontRenderer.cpp index 35051b7cccea..9c2c1192a69d 100644 --- a/libs/hwui/FontRenderer.cpp +++ b/libs/hwui/FontRenderer.cpp @@ -474,7 +474,6 @@ void FontRenderer::issueDrawCommand(Vector& cacheTextures) { if (!mFunctor) return; bool first = true; - bool forceRebind = false; for (uint32_t i = 0; i < cacheTextures.size(); i++) { CacheTexture* texture = cacheTextures[i]; if (texture->canDraw()) { @@ -487,7 +486,6 @@ void FontRenderer::issueDrawCommand(Vector& cacheTextures) { mFunctor->draw(*texture, mLinearFiltering); texture->resetMesh(); - forceRebind = false; } } } -- 2.11.0