[Warnings] Fixed warnings that Friti reported, thanks friti!

This commit is contained in:
Inusaito Sayori
2014-06-14 18:21:20 -04:00
parent 576069a84d
commit f56ac5210c
2 changed files with 1 additions and 1 deletions

View File

@@ -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")

View File

@@ -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));