diff options
author | 2022-08-12 20:00:13 +0000 | |
---|---|---|
committer | 2022-08-12 20:00:13 +0000 | |
commit | eab658e2132f2d73a82868f17a57015b8e717d17 (patch) | |
tree | 9cdf9a728ed12d823789801e544226681bd35c49 /tools/aapt/ResourceTable.cpp | |
parent | 1db210c09c29208236effde051090bc8dfb25f33 (diff) | |
parent | b172c3161f00a697140c226c3ed0993c8a9e0e4d (diff) |
Merge "Fix unused-but-set-variable warnings"
Diffstat (limited to 'tools/aapt/ResourceTable.cpp')
-rw-r--r-- | tools/aapt/ResourceTable.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tools/aapt/ResourceTable.cpp b/tools/aapt/ResourceTable.cpp index b9de11b0026b..47750fc11a6e 100644 --- a/tools/aapt/ResourceTable.cpp +++ b/tools/aapt/ResourceTable.cpp @@ -2970,14 +2970,6 @@ status_t ResourceTable::flatten(Bundle* bundle, const sp<const ResourceFilter>& } e->setNameIndex(keyStrings.add(e->getName(), true)); - // If this entry has no values for other configs, - // and is the default config, then it is special. Otherwise - // we want to add it with the config info. - ConfigDescription* valueConfig = NULL; - if (N != 1 || config == nullConfig) { - valueConfig = &config; - } - status_t err = e->prepareFlatten(&valueStrings, this, &configTypeName, &config); if (err != NO_ERROR) { |