diff options
author | Aleric Inglewood <Aleric.Inglewood@gmail.com> | 2011-01-20 15:57:07 -0500 |
---|---|---|
committer | Aleric Inglewood <Aleric.Inglewood@gmail.com> | 2011-01-20 15:57:07 -0500 |
commit | a873ae55a36c4470d7e03e3544545ac164edee29 (patch) | |
tree | 46cfa2dc31507799da7163b1e8b5b2360d020b87 | |
parent | ad34f858dc5047a5e4c2fc3dcabbd24f7663e00d (diff) |
VWR-24317: remove warning due to unassigned variable
-rw-r--r-- | doc/contributions.txt | 1 | ||||
-rw-r--r-- | indra/llui/llnotifications.cpp | 6 |
2 files changed, 3 insertions, 4 deletions
diff --git a/doc/contributions.txt b/doc/contributions.txt index 0c83be89c2..3b2e2239d2 100644 --- a/doc/contributions.txt +++ b/doc/contributions.txt @@ -81,6 +81,7 @@ Aleric Inglewood VWR-24254 VWR-24261 VWR-24315 + VWR-24317 SNOW-84 SNOW-477 SNOW-744 diff --git a/indra/llui/llnotifications.cpp b/indra/llui/llnotifications.cpp index cd0f0e36b0..cc9edfcdea 100644 --- a/indra/llui/llnotifications.cpp +++ b/indra/llui/llnotifications.cpp @@ -1367,7 +1367,6 @@ LLNotifications::TemplateNames LLNotifications::getTemplateNames() const typedef std::map<std::string, std::string> StringMap; void replaceSubstitutionStrings(LLXMLNodePtr node, StringMap& replacements) { - //llwarns << "replaceSubstitutionStrings" << llendl; // walk the list of attributes looking for replacements for (LLXMLAttribList::iterator it=node->mAttributes.begin(); it != node->mAttributes.end(); ++it) @@ -1381,13 +1380,12 @@ void replaceSubstitutionStrings(LLXMLNodePtr node, StringMap& replacements) if (found != replacements.end()) { replacement = found->second; - //llwarns << "replaceSubstituionStrings: value: " << value << " repl: " << replacement << llendl; - + lldebugs << "replaceSubstitutionStrings: value: \"" << value << "\" repl: \"" << replacement << "\"." << llendl; it->second->setValue(replacement); } else { - llwarns << "replaceSubstituionStrings FAILURE: value: " << value << " repl: " << replacement << llendl; + llwarns << "replaceSubstitutionStrings FAILURE: could not find replacement \"" << value << "\"." << llendl; } } } |