Checker: DEADCODE
Function: LLToolPie::handleMediaClick(const LLPickInfo &)
File: /indra/newview/lltoolpie.cpp

simply some redundant checking, cleared-up for clarity
master
Tofu Linden 2010-02-15 17:56:33 +00:00
parent 6810ea5c4a
commit 4bb57fde32
1 changed files with 1 additions and 2 deletions

View File

@ -1263,11 +1263,10 @@ bool LLToolPie::handleMediaClick(const LLPickInfo& pick)
return false;
LLMediaEntry* mep = (tep->hasMedia()) ? tep->getMediaData() : NULL;
if(!mep)
return false;
viewer_media_t media_impl = mep ? LLViewerMedia::getMediaImplFromTextureID(mep->getMediaID()) : NULL;
viewer_media_t media_impl = LLViewerMedia::getMediaImplFromTextureID(mep->getMediaID());
if (gSavedSettings.getBOOL("MediaOnAPrimUI"))
{