summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim ProductEngine <vsavchuk@productengine.com>2011-08-01 21:33:11 +0300
committerVadim ProductEngine <vsavchuk@productengine.com>2011-08-01 21:33:11 +0300
commit3a82169e2e985f1275426eab73683d973dccca29 (patch)
treefc5358128762d956822f27e376b07cb3a1cc81a6
parentcfacd12d136a570e8fe353faa7e7818c6ff24b5e (diff)
STORM-1186 FIXED Removed the "no mCurrentRMessageTemplate" warning message.
The mCurrentRMessageTemplate member seems to only be non-NULL for a short while after an incoming message was validated and parsed, thus there is no guarantee that we can obtain name of the last received message at any given time. So if we can't we'll simply return an empty string without spamming the log with warnings.
-rw-r--r--indra/llmessage/lltemplatemessagereader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llmessage/lltemplatemessagereader.cpp b/indra/llmessage/lltemplatemessagereader.cpp
index f470e1b2a5..ab91f74abe 100644
--- a/indra/llmessage/lltemplatemessagereader.cpp
+++ b/indra/llmessage/lltemplatemessagereader.cpp
@@ -795,7 +795,7 @@ const char* LLTemplateMessageReader::getMessageName() const
{
if (!mCurrentRMessageTemplate)
{
- llwarns << "no mCurrentRMessageTemplate" << llendl;
+ // no message currently being read
return "";
}
return mCurrentRMessageTemplate->mName;