diff --git a/indra/newview/alpanelquicksettings.cpp b/indra/newview/alpanelquicksettings.cpp index 2dc4d0158199cd00e581316d3dc5cfc6ee5eb221..43b4b26fca98ab386206cd5a55afdd888fe58e16 100644 --- a/indra/newview/alpanelquicksettings.cpp +++ b/indra/newview/alpanelquicksettings.cpp @@ -43,7 +43,6 @@ static LLPanelInjector<ALPanelQuickSettings> t_quick_settings("quick_settings"); ALPanelQuickSettings::ALPanelQuickSettings() : LLPanel(), - mRegionSettingsCheckBox(nullptr), mHoverSlider(nullptr), mHoverSpinner(nullptr) { diff --git a/indra/newview/alpanelquicksettings.h b/indra/newview/alpanelquicksettings.h index fca55b8e3b73b590ae8a861b90ea603e30b5cbca..504fc5c28a1b42454b3c4d08872c7795d5b626ee 100644 --- a/indra/newview/alpanelquicksettings.h +++ b/indra/newview/alpanelquicksettings.h @@ -52,8 +52,6 @@ class ALPanelQuickSettings final : public LLPanel void onSimulatorFeaturesReceived(const LLUUID ®ion_id); void updateEditHoverEnabled(); - LLCheckBoxCtrl* mRegionSettingsCheckBox; - LLSlider* mHoverSlider; LLSpinCtrl* mHoverSpinner; diff --git a/indra/newview/llattachmentsmgr.cpp b/indra/newview/llattachmentsmgr.cpp index 0d51d581dbbb507b906e4acad94316ad46295116..1005ca95295451ae9a5eae718d517762c495ae85 100644 --- a/indra/newview/llattachmentsmgr.cpp +++ b/indra/newview/llattachmentsmgr.cpp @@ -43,7 +43,6 @@ const F32 COF_LINK_BATCH_TIME = 5.0F; const F32 MAX_ATTACHMENT_REQUEST_LIFETIME = 30.0F; const F32 MIN_RETRY_REQUEST_TIME = 5.0F; -const F32 MAX_BAD_COF_TIME = 30.0F; // [SL:KB] - Patch: Appearance-SyncAttach | Checked: Catznip-3.7 class LLRegisterAttachmentCallback : public LLRequestServerAppearanceUpdateOnDestroy diff --git a/indra/newview/llfloatergodtools.cpp b/indra/newview/llfloatergodtools.cpp index de32af8016b60eadea1c5a9fa27e3f9d5a5e008d..0cd41d509b27ffd5e9ac71851f1f2427b6556565 100644 --- a/indra/newview/llfloatergodtools.cpp +++ b/indra/newview/llfloatergodtools.cpp @@ -224,7 +224,6 @@ void LLFloaterGodTools::processRegionInfo(LLMessageSystem* msg) S32 price_per_meter; S32 redirect_grid_x; S32 redirect_grid_y; - LLUUID cache_id; LLHost host = msg->getSender(); diff --git a/indra/newview/llfloaterinspect.cpp b/indra/newview/llfloaterinspect.cpp index 57a05b42fcfaada163a224376627b2c7d65393d2..b7c1700526f03a01b50a9b613ea123b3d5ca98f3 100644 --- a/indra/newview/llfloaterinspect.cpp +++ b/indra/newview/llfloaterinspect.cpp @@ -279,7 +279,6 @@ LLUUID LLFloaterInspect::getSelectedUUID() void LLFloaterInspect::refresh() { - LLUUID creator_id; std::string creator_name; S32 pos = mObjectList->getScrollPos(); getChildView("button owner")->setEnabled(false); diff --git a/indra/newview/llfloateroutfitphotopreview.cpp b/indra/newview/llfloateroutfitphotopreview.cpp index 6c39db730c33c40b0f86a3d0a2661d6a9c24368f..ade258aef74ee07ffbc8a95c8cfe811ee40139f5 100644 --- a/indra/newview/llfloateroutfitphotopreview.cpp +++ b/indra/newview/llfloateroutfitphotopreview.cpp @@ -234,7 +234,6 @@ void LLFloaterOutfitPhotoPreview::updateImageID() if(item) { mImageID = item->getAssetUUID(); - LLPermissions perm(item->getPermissions()); } else { diff --git a/indra/newview/llfloaterregioninfo.cpp b/indra/newview/llfloaterregioninfo.cpp index 20c78abe05a8b70de842d236cf3ebf4eda363a46..ac2fc67e7bff9344fac78663adcc09ba9da58a36 100644 --- a/indra/newview/llfloaterregioninfo.cpp +++ b/indra/newview/llfloaterregioninfo.cpp @@ -2463,7 +2463,6 @@ bool LLDispatchSetEstateExperience::operator()( ++it; // U32 estate_id = strtol((*it).c_str(), NULL, 10); ++it; // U32 send_to_agent_only = strtoul((*(++it)).c_str(), NULL, 10); - LLUUID id; S32 num_blocked = strtol((*(it++)).c_str(), NULL, 10); S32 num_trusted = strtol((*(it++)).c_str(), NULL, 10); S32 num_allowed = strtol((*(it++)).c_str(), NULL, 10); diff --git a/indra/newview/llinventorymodel.cpp b/indra/newview/llinventorymodel.cpp index 32054a79baf1ac5ea0a971faf1dd629215a76258..61da3572e7dacf368a11df072b3efed8ed1c3977 100644 --- a/indra/newview/llinventorymodel.cpp +++ b/indra/newview/llinventorymodel.cpp @@ -3054,7 +3054,7 @@ void LLInventoryModel::removeInventoryItem(LLUUID agent_id, LLMessageSystem* msg void LLInventoryModel::processRemoveInventoryItem(LLMessageSystem* msg, void**) { LL_DEBUGS(LOG_INV) << "LLInventoryModel::processRemoveInventoryItem()" << LL_ENDL; - LLUUID agent_id, item_id; + LLUUID agent_id; msg->getUUIDFast(_PREHASH_AgentData, _PREHASH_AgentID, agent_id); if(agent_id != gAgent.getID()) { @@ -3071,7 +3071,7 @@ void LLInventoryModel::processUpdateInventoryFolder(LLMessageSystem* msg, void**) { LL_DEBUGS(LOG_INV) << "LLInventoryModel::processUpdateInventoryFolder()" << LL_ENDL; - LLUUID agent_id, folder_id, parent_id; + LLUUID agent_id; //char name[DB_INV_ITEM_NAME_BUF_SIZE]; msg->getUUIDFast(_PREHASH_FolderData, _PREHASH_AgentID, agent_id); if(agent_id != gAgent.getID()) diff --git a/indra/newview/llpanelgroupgeneral.cpp b/indra/newview/llpanelgroupgeneral.cpp index 375daf60f88ec6f55f661e2a571d1fec0aa84caf..0884fdbc67037ac55ebe824c546e059210b083d0 100644 --- a/indra/newview/llpanelgroupgeneral.cpp +++ b/indra/newview/llpanelgroupgeneral.cpp @@ -459,8 +459,6 @@ void LLPanelGroupGeneral::update(LLGroupChange gc) if (is_member) { - LLUUID current_title_role; - mComboActiveTitle->clear(); mComboActiveTitle->removeall(); bool has_selected_title = false; diff --git a/indra/newview/llpanelobject.cpp b/indra/newview/llpanelobject.cpp index 19458f51759c57bc9743d2aefe31d65af85d59a4..615c85586ffe88226d8ce5bcdb5a478d08fb9569 100644 --- a/indra/newview/llpanelobject.cpp +++ b/indra/newview/llpanelobject.cpp @@ -1077,9 +1077,6 @@ void LLPanelObject::getState( ) // sculpt texture if (selected_item == MI_SCULPT) { - - - LLUUID id; LLSculptParams *sculpt_params = (LLSculptParams *)objectp->getParameterEntry(LLNetworkData::PARAMS_SCULPT); diff --git a/indra/newview/llselectmgr.cpp b/indra/newview/llselectmgr.cpp index 71c3ea938efee3b1179b75eeda04c822aab69b07..1a327a3778acc0e802abf027dffe1f8704717a19 100644 --- a/indra/newview/llselectmgr.cpp +++ b/indra/newview/llselectmgr.cpp @@ -5352,7 +5352,6 @@ void LLSelectMgr::processObjectProperties(LLMessageSystem* msg, void** user_data LLUUID group_id; LLUUID last_owner_id; U64 creation_date; - LLUUID extra_id; U32 base_mask, owner_mask, group_mask, everyone_mask, next_owner_mask; LLSaleInfo sale_info; LLCategory category; @@ -5512,10 +5511,8 @@ void LLSelectMgr::processObjectPropertiesFamily(LLMessageSystem* msg, void** use LLUUID id; U32 request_flags; - LLUUID creator_id; LLUUID owner_id; LLUUID group_id; - LLUUID extra_id; U32 base_mask, owner_mask, group_mask, everyone_mask, next_owner_mask; LLSaleInfo sale_info; LLCategory category; diff --git a/indra/newview/llspeakers.cpp b/indra/newview/llspeakers.cpp index 33517f3c3ba8dd13859e7fb5387812f751522d28..e1bd1892e17ff8ec63a294379537f9dc7d0c890b 100644 --- a/indra/newview/llspeakers.cpp +++ b/indra/newview/llspeakers.cpp @@ -458,8 +458,7 @@ void LLSpeakerMgr::update(BOOL resort_ok) S32 recent_speaker_count = 0; S32 sort_index = 0; - speaker_list_t::iterator sorted_speaker_it; - for(LLPointer<LLSpeaker> speakerp : mSpeakersSorted) + for(LLPointer<LLSpeaker>& speakerp : mSpeakersSorted) { // color code recent speakers who are not currently speaking if (speakerp->mStatus == LLSpeaker::STATUS_HAS_SPOKEN) diff --git a/indra/newview/lltooldraganddrop.cpp b/indra/newview/lltooldraganddrop.cpp index 45210a916816d08a7d7fbe3355704809ebc9d975..f65ae6d63785866230bcbf6cf774183a8423d844 100644 --- a/indra/newview/lltooldraganddrop.cpp +++ b/indra/newview/lltooldraganddrop.cpp @@ -2176,7 +2176,6 @@ EAcceptance LLToolDragAndDrop::dad3dActivateGesture( if( drop ) { - LLUUID item_id; if(mSource == SOURCE_LIBRARY) { // create item based on that one, and put it on if that diff --git a/indra/newview/llviewerinventory.cpp b/indra/newview/llviewerinventory.cpp index eb4b50239122d9e143f6384247fe7cc4849cc16e..c0120ebc281a48793ae2f560c27ef0d677e76406 100644 --- a/indra/newview/llviewerinventory.cpp +++ b/indra/newview/llviewerinventory.cpp @@ -81,7 +81,6 @@ void no_op_llsd_func(const LLSD&) {} void no_op() {} static const char * const LOG_INV("Inventory"); -static const char * const LOG_LOCAL("InventoryLocalize"); static const char * const LOG_NOTECARD("copy_inventory_from_notecard"); #if 1 diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index 733fd8190c7f9bfb07b6875a1d98fa677a10379b..06f8797a6cbc36606a84d18097b149731e0892ff 100644 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -2405,7 +2405,6 @@ bool callingcard_offer_callback(const LLSD& notification, const LLSD& response) { S32 option = LLNotificationsUtil::getSelectedOption(notification, response); LLUUID fid; - LLUUID from_id; LLMessageSystem* msg = gMessageSystem; switch(option) { diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index 8caedc7706c94b4bd051f2bb641f9cd9f1572cba..4a9b47aa8eb9fa878a1a83213f2e0f8ea3b7abec 100644 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -1,4 +1,4 @@ -/** +/** * @File llvoavatar.cpp * @brief Implementation of LLVOAvatar class which is a derivation of LLViewerObject * @@ -1969,7 +1969,6 @@ void LLVOAvatar::resetVisualParams() { // Skeletal params { - LLAvatarXmlInfo::skeletal_distortion_info_list_t::iterator iter; for (LLViewerVisualParamInfo* vparam : sAvatarXmlInfo->mSkeletalDistortionInfoList) { LLPolySkeletalDistortionInfo *info = static_cast<LLPolySkeletalDistortionInfo*>(vparam); @@ -9169,9 +9168,11 @@ void LLVOAvatar::applyParsedAppearanceMessage(LLAppearanceMessageContents& conte } } } + +#ifdef SHOW_DEBUG const S32 expected_tweakable_count = getVisualParamCountInGroup(VISUAL_PARAM_GROUP_TWEAKABLE) + getVisualParamCountInGroup(VISUAL_PARAM_GROUP_TRANSMIT_NOT_TWEAKABLE); // don't worry about VISUAL_PARAM_GROUP_TWEAKABLE_NO_TRANSMIT -#if SHOW_DEBUG + if (num_params != expected_tweakable_count) { LL_DEBUGS("Avatar") << "Number of params in AvatarAppearance msg (" << num_params << ") does not match number of tweakable params in avatar xml file (" << expected_tweakable_count << "). Processing what we can. object: " << getID() << LL_ENDL;