From 01f185633c1c12017731336e7f926fe398c69781 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Wed, 8 Apr 2015 17:29:00 -0700 Subject: 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 --- tools/aapt/Resource.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'tools/aapt/Resource.cpp') diff --git a/tools/aapt/Resource.cpp b/tools/aapt/Resource.cpp index 36299c2c3a5b..a6b862eaa3a0 100644 --- a/tools/aapt/Resource.cpp +++ b/tools/aapt/Resource.cpp @@ -3056,7 +3056,6 @@ writeProguardForLayouts(ProguardKeepSet* keep, const sp& assets) const sp& d = dirs.itemAt(k); const String8& dirName = d->getLeaf(); Vector startTags; - const char* startTag = NULL; const KeyedVector >* tagAttrPairs = NULL; if ((dirName == String8("layout")) || (strncmp(dirName.string(), "layout-", 7) == 0)) { tagAttrPairs = &kLayoutTagAttrPairs; -- cgit v1.2.3-59-g8ed1b