summaryrefslogtreecommitdiff
path: root/indra/newview/llmutelist.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2015-05-23 13:34:34 -0400
committerNat Goodspeed <nat@lindenlab.com>2015-05-23 13:34:34 -0400
commit833579b14b134dce8f378336b9cbcd40cfa72c5f (patch)
tree035dd0bac5221a9c5e06915da19c52126175f5b0 /indra/newview/llmutelist.cpp
parent430263746424bd0a7c6647d25d9d1db5eca2e8c0 (diff)
MAINT-5232: Convert gMessageSystem != NULL to simple bool test.
Now that gMessageSystem is an LLPounceable, we would either have to define comparisons to LLPounceable's held type or static_cast<LLMessageSystem*> to literally compare to NULL. But since we already define operator bool(), that's the easy (and idiomatic) fix.
Diffstat (limited to 'indra/newview/llmutelist.cpp')
-rwxr-xr-xindra/newview/llmutelist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llmutelist.cpp b/indra/newview/llmutelist.cpp
index 65ac11092c..681203ef4f 100755
--- a/indra/newview/llmutelist.cpp
+++ b/indra/newview/llmutelist.cpp
@@ -152,7 +152,7 @@ LLMuteList* LLMuteList::getInstance()
{
// Register callbacks at the first time that we find that the message system has been created.
static BOOL registered = FALSE;
- if( !registered && gMessageSystem != NULL)
+ if( !registered && gMessageSystem)
{
registered = TRUE;
// Register our various callbacks