commit | bad90c38881d0ea425348560a6df766e6d41bc4c | [log] [tgz] |
---|---|---|
author | Adam Lesinski <adamlesinski@google.com> | Tue Aug 02 11:39:17 2016 -0700 |
committer | Adam Lesinski <adamlesinski@google.com> | Tue Aug 02 11:39:17 2016 -0700 |
tree | 494702897f9d7c0036025ab61bc4717e9756e524 | |
parent | 39df2f25dc9e7997be3f728bc2a2573dd1cc12fe [diff] |
AAPT2: Add missing error statement Change-Id: I955ba6f151d68db02c3dc16d121994fb553dcea8
diff --git a/tools/aapt2/link/ReferenceLinker.cpp b/tools/aapt2/link/ReferenceLinker.cpp index fe886de..6aa9c0e 100644 --- a/tools/aapt2/link/ReferenceLinker.cpp +++ b/tools/aapt2/link/ReferenceLinker.cpp
@@ -231,6 +231,7 @@ std::string* outError) { const SymbolTable::Symbol* symbol = resolveSymbol(reference, nameMangler, symbols); if (!symbol) { + if (outError) *outError = "not found"; return {}; }