summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-02-10 17:23:53 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-02-10 17:23:53 +0000
commit1562b12b6ca7aa5687e44ef0a99cbfbce3bb1cb4 (patch)
treea05b9a80f71b121deae941b66b6bb4a1ad5bde86 /indra/newview
parent7786c8638a107953b779dbbedc39a4dfa85f5848 (diff)
CID-408
Checker: UNUSED_VALUE Function: LLOfferInfo::inventory_task_offer_callback(const LLSD &, const LLSD &) File: /indra/newview/llviewermessage.cpp dead code.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llviewermessage.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp
index 29301e4d1c..8aa642bdb6 100644
--- a/indra/newview/llviewermessage.cpp
+++ b/indra/newview/llviewermessage.cpp
@@ -1306,13 +1306,6 @@ bool LLOfferInfo::inventory_task_offer_callback(const LLSD& notification, const
msg->addUUIDFast(_PREHASH_RegionID, LLUUID::null);
msg->addVector3Fast(_PREHASH_Position, gAgent.getPositionAgent());
LLInventoryObserver* opener = NULL;
- LLViewerInventoryCategory* catp = NULL;
- catp = (LLViewerInventoryCategory*)gInventory.getCategory(mObjectID);
- LLViewerInventoryItem* itemp = NULL;
- if(!catp)
- {
- itemp = (LLViewerInventoryItem*)gInventory.getItem(mObjectID);
- }
std::string from_string; // Used in the pop-up.
std::string chatHistory_string; // Used in chat history.