diff --git a/indra/newview/rlvinventory.cpp b/indra/newview/rlvinventory.cpp index a0994d6b03..de8acf74ec 100644 --- a/indra/newview/rlvinventory.cpp +++ b/indra/newview/rlvinventory.cpp @@ -635,7 +635,7 @@ void RlvGiveToRLVTaskOffer::doneIdle() void RlvGiveToRLVTaskOffer::onDestinationCreated(const LLUUID& idDestFolder, const std::string& strName) { - if (const LLViewerInventoryCategory* pTarget = (idDestFolder.notNull()) ? gInventory.getCategory(idDestFolder) : nullptr) + if (idDestFolder.notNull() ? gInventory.getCategory(idDestFolder) : nullptr) { moveAndRename(m_Folders.front(), idDestFolder, strName, new LLBoostFuncInventoryCallback(boost::bind(&RlvGiveToRLVTaskOffer::onOfferCompleted, this, _1))); }