diff options
| author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-11 14:26:21 +0000 | 
|---|---|---|
| committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-11 14:26:21 +0000 | 
| commit | dd360d05dcae2d11343b585a9d6e6a564aa2bca7 (patch) | |
| tree | 17513a4d485ee9342ae73dff94f5f38b42bc5424 | |
| parent | d56525aaec271775d7fa4ffb162b1316850161e5 (diff) | |
CID-149
Checker: NULL_RETURNS
Function: LLFloaterGesture::onCopyPasteAction(const LLSD &)
File: /indra/newview/llfloatergesture.cpp
| -rw-r--r-- | indra/newview/llfloatergesture.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfloatergesture.cpp b/indra/newview/llfloatergesture.cpp index 60a5fb6aba..af6386b8b6 100644 --- a/indra/newview/llfloatergesture.cpp +++ b/indra/newview/llfloatergesture.cpp @@ -516,10 +516,10 @@ void LLFloaterGesture::onCopyPasteAction(const LLSD& command)  		for(LLDynamicArray<LLUUID>::iterator it = ids.begin(); it != ids.end(); it++)  		{  			LLInventoryItem* item = gInventory.getItem(*it); -			LLStringUtil::format_map_t string_args; -			string_args["[COPY_NAME]"] = item->getName();  			if(gesture_dir && item && item->getInventoryType() == LLInventoryType::IT_GESTURE)  			{ +				LLStringUtil::format_map_t string_args; +				string_args["[COPY_NAME]"] = item->getName();  				LL_DEBUGS("Gesture")<< "Copying gesture " << item->getName() << "  "<< item->getUUID() << " into "  										<< gesture_dir->getName() << "  "<< gesture_dir->getUUID() << LL_ENDL;  				copy_inventory_item(gAgent.getID(), item->getPermissions().getOwner(), item->getUUID(),   | 
