summaryrefslogtreecommitdiff
path: root/indra/newview/llagent.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-02-10 18:12:15 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-02-10 18:12:15 +0000
commit51499b555a64b5616edc52ff3150b820f8dafaef (patch)
tree059fc6957700ca9ca9ab36b77542804ec5583c80 /indra/newview/llagent.cpp
parent1d66e3a1fba1d3ea5b47ae4fc54e752cdba9e540 (diff)
CID-65
Checker: FORWARD_NULL Function: LLAgent::sendMessage() File: /indra/newview/llagent.cpp not a bug.
Diffstat (limited to 'indra/newview/llagent.cpp')
-rw-r--r--indra/newview/llagent.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp
index a061744f7c..59f61dfdfb 100644
--- a/indra/newview/llagent.cpp
+++ b/indra/newview/llagent.cpp
@@ -956,6 +956,7 @@ void LLAgent::sendMessage()
if (!mRegionp)
{
llerrs << "No region for agent yet!" << llendl;
+ return;
}
gMessageSystem->sendMessage(mRegionp->getHost());
}