From af77b7713444b9df58f451bdb1f30bdd4754fcbf Mon Sep 17 00:00:00 2001 From: Tofu Linden Date: Tue, 23 Mar 2010 14:02:41 +0000 Subject: CID-450 Checker: FORWARD_NULL Function: LLPanelPicks::onPanelClassifiedEdit() File: /indra/newview/llpanelpicks.cpp --- indra/newview/llpanelpicks.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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(mClassifiedsList->getSelectedItem()); + llassert(c_item); + if (!c_item) + { + return; + } LLSD params; params["classified_id"] = c_item->getClassifiedId(); -- cgit v1.2.3