From a0c57cbb824f5ec976f43a096c320929c7d89120 Mon Sep 17 00:00:00 2001 From: Tofu Linden Date: Sat, 13 Feb 2010 14:05:09 +0000 Subject: CID-207 assert. --- indra/newview/llinventorymodel.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/indra/newview/llinventorymodel.cpp b/indra/newview/llinventorymodel.cpp index a6e8f07e21..326f2a5577 100644 --- a/indra/newview/llinventorymodel.cpp +++ b/indra/newview/llinventorymodel.cpp @@ -1937,6 +1937,7 @@ void LLInventoryModel::addItem(LLViewerInventoryItem* item) { //llinfos << "LLInventoryModel::addItem()" << llendl; + llassert(item); if(item) { // This can happen if assettype enums from llassettype.h ever change. -- cgit v1.2.3