summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-07-05 11:57:45 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-07-05 11:57:45 +0100
commit014c2a508934e18c347b70d905c004955cd23613 (patch)
tree57a6af02727091f81ec1b1fe2e01e7ca96327ccb /indra/newview
parentf954db02638e32677d5fe61abdf0079b434d725c (diff)
Checker: NULL_RETURNS
Function: LLPanelVoiceEffect::update(bool) File: /indra/newview/llpanelvoiceeffect.cpp
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llpanelvoiceeffect.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llpanelvoiceeffect.cpp b/indra/newview/llpanelvoiceeffect.cpp
index fd470798ee..68fa9d1e5e 100644
--- a/indra/newview/llpanelvoiceeffect.cpp
+++ b/indra/newview/llpanelvoiceeffect.cpp
@@ -129,6 +129,8 @@ void LLPanelVoiceEffect::update(bool list_updated)
if (mVoiceEffectCombo)
{
LLVoiceEffectInterface* effect_interface = LLVoiceClient::instance().getVoiceEffectInterface();
+ llassert(effect_interface);
+ if (!effect_interface) return;
if (list_updated)
{
// Add the default "No Voice Morph" entry.