summaryrefslogtreecommitdiff
path: root/indra/newview/llviewercontrol.cpp
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2010-04-01 21:07:49 -0700
committerRoxie Linden <roxie@lindenlab.com>2010-04-01 21:07:49 -0700
commit947bd994885ec59c138a2e3835b940a22ebaea1e (patch)
treecfdac833258a789a71bd466a441f06053cff9d50 /indra/newview/llviewercontrol.cpp
parent19be852fd63f9ae9eef1ff9aa864bd25d0d200bc (diff)
Incorporate Aimees code review comments
Diffstat (limited to 'indra/newview/llviewercontrol.cpp')
-rw-r--r--indra/newview/llviewercontrol.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/indra/newview/llviewercontrol.cpp b/indra/newview/llviewercontrol.cpp
index 3bbd0e777f..27a23fbe74 100644
--- a/indra/newview/llviewercontrol.cpp
+++ b/indra/newview/llviewercontrol.cpp
@@ -411,10 +411,7 @@ bool handleHighResSnapshotChanged(const LLSD& newvalue)
bool handleVoiceClientPrefsChanged(const LLSD& newvalue)
{
- if(LLVoiceClient::getInstance())
- {
- LLVoiceClient::getInstance()->updateSettings();
- }
+ LLVoiceClient::getInstance()->updateSettings();
return true;
}