From f56ac5210c3c8f798ee7fe49338be393fbb67bc0 Mon Sep 17 00:00:00 2001 From: Inusaito Sayori Date: Sat, 14 Jun 2014 18:21:20 -0400 Subject: [PATCH] [Warnings] Fixed warnings that Friti reported, thanks friti! --- indra/newview/llfloaterperms.cpp | 1 - indra/newview/llviewermenufile.cpp | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llfloaterperms.cpp b/indra/newview/llfloaterperms.cpp index 8638bc529..c5fcb02e0 100644 --- a/indra/newview/llfloaterperms.cpp +++ b/indra/newview/llfloaterperms.cpp @@ -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") diff --git a/indra/newview/llviewermenufile.cpp b/indra/newview/llviewermenufile.cpp index 52506852a..301a461f7 100644 --- a/indra/newview/llviewermenufile.cpp +++ b/indra/newview/llviewermenufile.cpp @@ -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));