summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-03-23 14:02:41 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-03-23 14:02:41 +0000
commitaf77b7713444b9df58f451bdb1f30bdd4754fcbf (patch)
treeecb35bcd00eb6cebb872432dd51c3f084956940c
parent3d373997ddd5c5c2e3a355464616db2fa8db5e17 (diff)
CID-450
Checker: FORWARD_NULL Function: LLPanelPicks::onPanelClassifiedEdit() File: /indra/newview/llpanelpicks.cpp
-rw-r--r--indra/newview/llpanelpicks.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llpanelpicks.cpp b/indra/newview/llpanelpicks.cpp
index 4c254de063..6f920cf4b9 100644
--- a/indra/newview/llpanelpicks.cpp
+++ b/indra/newview/llpanelpicks.cpp
@@ -974,6 +974,11 @@ void LLPanelPicks::onPanelClassifiedEdit()
}
LLClassifiedItem* c_item = dynamic_cast<LLClassifiedItem*>(mClassifiedsList->getSelectedItem());
+ llassert(c_item);
+ if (!c_item)
+ {
+ return;
+ }
LLSD params;
params["classified_id"] = c_item->getClassifiedId();