diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-05-28 12:20:06 +0100 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-05-28 12:20:06 +0100 |
commit | 878e1d06d5e9ac3bb6c002d3fd7342f5beda2017 (patch) | |
tree | d9ce42f6f6636a944b044b774733449585ce834f /indra/newview | |
parent | 14e03b56fc363d83004d0c0ae5d79a9bedf68eae (diff) |
CID-476
Checker: NULL_RETURNS
Function: LLPanelEditWearable::updateScrollingPanelUI()
File: /indra/newview/llpaneleditwearable.cpp
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llpaneleditwearable.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llpaneleditwearable.cpp b/indra/newview/llpaneleditwearable.cpp index 9eccceca66..36f2d05fab 100644 --- a/indra/newview/llpaneleditwearable.cpp +++ b/indra/newview/llpaneleditwearable.cpp @@ -1095,6 +1095,8 @@ void LLPanelEditWearable::updateScrollingPanelUI() if(panel && (mWearablePtr->getItemID().notNull())) { const LLEditWearableDictionary::WearableEntry *wearable_entry = LLEditWearableDictionary::getInstance()->getWearable(type); + llassert(wearable_entry); + if (!wearable_entry) return; U8 num_subparts = wearable_entry->mSubparts.size(); LLScrollingPanelParam::sUpdateDelayFrames = 0; |