diff options
| author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-03-23 14:02:41 +0000 | 
|---|---|---|
| committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-03-23 14:02:41 +0000 | 
| commit | af77b7713444b9df58f451bdb1f30bdd4754fcbf (patch) | |
| tree | ecb35bcd00eb6cebb872432dd51c3f084956940c | |
| parent | 3d373997ddd5c5c2e3a355464616db2fa8db5e17 (diff) | |
CID-450
Checker: FORWARD_NULL
Function: LLPanelPicks::onPanelClassifiedEdit()
File: /indra/newview/llpanelpicks.cpp
| -rw-r--r-- | indra/newview/llpanelpicks.cpp | 5 | 
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(); | 
