From 014c2a508934e18c347b70d905c004955cd23613 Mon Sep 17 00:00:00 2001 From: Tofu Linden Date: Mon, 5 Jul 2010 11:57:45 +0100 Subject: Checker: NULL_RETURNS Function: LLPanelVoiceEffect::update(bool) File: /indra/newview/llpanelvoiceeffect.cpp --- indra/newview/llpanelvoiceeffect.cpp | 2 ++ 1 file changed, 2 insertions(+) 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. -- cgit v1.2.3