diff --git a/indra/newview/ascentprefschat.cpp b/indra/newview/ascentprefschat.cpp index 7084e0081..ddea0444b 100644 --- a/indra/newview/ascentprefschat.cpp +++ b/indra/newview/ascentprefschat.cpp @@ -352,7 +352,7 @@ void LLPrefsAscentChat::refresh() combo->setCurrentByIndex(mSpeakerNames); //Text Options ------------------------------------------------------------------------ - if (combo = getChild("SpellBase")) + if (auto combo = getChild("SpellBase")) { combo->removeall();