diff options
| author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2009-11-13 11:43:32 -0500 | 
|---|---|---|
| committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2009-11-13 11:43:32 -0500 | 
| commit | 036b0b7d8d16bc37ccc618b616db864c67c940e4 (patch) | |
| tree | 029697d1c9e63dbb6473ff9334ccd9568bf8869b | |
| parent | f36c43abde7457747539f3687e02bd54a88bcd87 (diff) | |
removed dead code that was triggering a warning on some platforms
--HG--
branch : avatar-pipeline
| -rw-r--r-- | indra/newview/llappearancemgr.cpp | 38 | 
1 files changed, 0 insertions, 38 deletions
| diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp index 456eaa43c6..8d66cefa4f 100644 --- a/indra/newview/llappearancemgr.cpp +++ b/indra/newview/llappearancemgr.cpp @@ -323,44 +323,6 @@ static void removeDuplicateItems(LLInventoryModel::item_array_t& items)  	items = new_items;  } -static void removeDuplicateItems(LLInventoryModel::item_array_t& dst, const LLInventoryModel::item_array_t& src) -{ -	LLInventoryModel::item_array_t new_dst; -	std::set<LLUUID> mark_inventory; - -	S32 inventory_dups = 0; -	 -	for (LLInventoryModel::item_array_t::const_iterator src_pos = src.begin(); -		  src_pos != src.end(); -		  ++src_pos) -	{ -		LLUUID src_item_id = (*src_pos)->getLinkedUUID(); -		mark_inventory.insert(src_item_id); -	} - -	for (LLInventoryModel::item_array_t::const_iterator dst_pos = dst.begin(); -		  dst_pos != dst.end(); -		  ++dst_pos) -	{ -		LLUUID dst_item_id = (*dst_pos)->getLinkedUUID(); - -		if (mark_inventory.find(dst_item_id) == mark_inventory.end()) -		{ -			// Item is not already present in COF. -			new_dst.put(*dst_pos); -			mark_inventory.insert(dst_item_id); -		} -		else -		{ -			inventory_dups++; -		} -	} -	llinfos << "removeDups, original " << dst.count() << " final " << new_dst.count() -			<< " inventory dups " << inventory_dups << llendl; -	 -	dst = new_dst; -} -  static void onWearableAssetFetch(LLWearable* wearable, void* data)  {  	LLWearableHoldingPattern* holder = (LLWearableHoldingPattern*)data; | 
