summaryrefslogtreecommitdiff
path: root/tools/veridex/hidden_api.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tools/veridex/hidden_api.cc')
-rw-r--r--tools/veridex/hidden_api.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/veridex/hidden_api.cc b/tools/veridex/hidden_api.cc
index 4156aa954b..1e0e303c57 100644
--- a/tools/veridex/hidden_api.cc
+++ b/tools/veridex/hidden_api.cc
@@ -34,7 +34,7 @@ HiddenApi::HiddenApi(const char* filename, const ApiListFilter& api_list_filter)
std::vector<std::string> values = android::base::Split(str, ",");
const std::string& signature = values[0];
- hiddenapi::ApiList membership;
+ hiddenapi::ApiList membership = hiddenapi::ApiList::Invalid();
bool success = hiddenapi::ApiList::FromNames(values.begin() + 1, values.end(), &membership);
if (!success) {
LOG(ERROR) << "Unknown ApiList flag: " << str;