Fix double variable name in initialization
is_asset_knowable variable name is duplicated, causing a compiler warning in gcc.master
parent
ed6148d6c6
commit
30a859de7e
|
|
@ -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())))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue