diff options
author | Zi Ree <81702435+zi-ree@users.noreply.github.com> | 2024-07-28 03:03:31 +0200 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2024-07-29 07:48:13 +0300 |
commit | 30a859de7e728afd2a93f76a8b5314ac90894ccc (patch) | |
tree | e616af098986d19f1456113a923786c123e4501a /indra | |
parent | ed6148d6c6c554223dc4b2dab0c729d3b5698158 (diff) |
Fix double variable name in initialization
is_asset_knowable variable name is duplicated, causing a compiler warning in gcc.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llinventorygallerymenu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llinventorygallerymenu.cpp b/indra/newview/llinventorygallerymenu.cpp index 8e56ccc01d..dbf4821ca1 100644 --- a/indra/newview/llinventorygallerymenu.cpp +++ b/indra/newview/llinventorygallerymenu.cpp @@ -810,7 +810,7 @@ void LLInventoryGalleryContextMenu::updateMenuItemsVisibility(LLContextMenu* men items.push_back(std::string("Copy Asset UUID")); items.push_back(std::string("Copy Separator")); - bool is_asset_knowable = is_asset_knowable = LLAssetType::lookupIsAssetIDKnowable(obj->getType()); + bool is_asset_knowable = LLAssetType::lookupIsAssetIDKnowable(obj->getType()); if ( !is_asset_knowable // disable menu item for Inventory items with unknown asset. EXT-5308 || (! ( is_full_perm_item || gAgent.isGodlike()))) { |