[Warnings] Fixed warnings that Friti reported, thanks friti!
This commit is contained in:
@@ -104,7 +104,6 @@ U32 LLFloaterPerms::getNextOwnerPerms(std::string prefix)
|
||||
|
||||
namespace
|
||||
{
|
||||
bool everyone_export;
|
||||
void handle_checkboxes(LLView* view, const std::string& ctrl_name, const LLSD& value, const std::string& type)
|
||||
{
|
||||
if (ctrl_name == type+"everyone_export")
|
||||
|
||||
@@ -1391,6 +1391,7 @@ void NewResourceItemCallback::fire(const LLUUID& new_item_id)
|
||||
case LLInventoryType::IT_LSL: type = "Scripts"; break;
|
||||
case LLInventoryType::IT_GESTURE: type = "Gestures"; break;
|
||||
case LLInventoryType::IT_NOTECARD: type = "Notecard"; break;
|
||||
default: break;
|
||||
}
|
||||
LLPermissions perms = new_item->getPermissions();
|
||||
perms.setMaskNext(LLFloaterPerms::getNextOwnerPerms(type));
|
||||
|
||||
Reference in New Issue
Block a user