summaryrefslogtreecommitdiff
path: root/tools/aapt/Images.cpp
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2015-04-08 17:29:00 -0700
committerColin Cross <ccross@android.com>2015-04-08 17:48:23 -0700
commit01f185633c1c12017731336e7f926fe398c69781 (patch)
treeab1546ae2c5ba5756df24bbe4a5dc3629ac04a9c /tools/aapt/Images.cpp
parentdbd9a4b651aed25a50976ca0a68a979cc3f299fa (diff)
Re-enable -Wall and -Werror that were lost in a merge
-Wall and -Werror were lost during a merge when they were added to aaptCFLAGS instead of aaptCFlags. Fix the typo, and the warnings that crept in while it was disabled. Change-Id: Ib944b8d6149278e4f3861c1acac277bcd95cc7c2
Diffstat (limited to 'tools/aapt/Images.cpp')
-rw-r--r--tools/aapt/Images.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/aapt/Images.cpp b/tools/aapt/Images.cpp
index 063b4e6801a0..e4738f5eda7d 100644
--- a/tools/aapt/Images.cpp
+++ b/tools/aapt/Images.cpp
@@ -412,7 +412,6 @@ static void find_max_opacity(png_byte** rows,
int startX, int startY, int endX, int endY, int dX, int dY,
int* out_inset)
{
- bool opaque_within_inset = true;
uint8_t max_opacity = 0;
int inset = 0;
*out_inset = 0;