summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-01-27 13:11:02 -0800
committerTofu Linden <tofu.linden@lindenlab.com>2010-01-27 13:11:02 -0800
commit599e96f32815733eb2bbd9aef5984d410644a10a (patch)
tree81bc4d257ba86b728650ced5a20af60ce9572577
parent05260ba76d020072e5b08bd07fa77408aee4442e (diff)
CID-102
Checker: INVALIDATE_ITERATOR Function: LLNotifications::getChannel(const std::basic_string<char, std::char_traits<char>, std::allocator<char>>&) File: /indra/llui/llnotifications.cpp not a bug.
-rw-r--r--indra/llui/llnotifications.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llui/llnotifications.cpp b/indra/llui/llnotifications.cpp
index 86989012ee..a67094b8ce 100644
--- a/indra/llui/llnotifications.cpp
+++ b/indra/llui/llnotifications.cpp
@@ -1058,6 +1058,7 @@ LLNotificationChannelPtr LLNotifications::getChannel(const std::string& channelN
if(p == mChannels.end())
{
llerrs << "Did not find channel named " << channelName << llendl;
+ return LLNotificationChannelPtr();
}
return p->second;
}