Update to build on Xcode 6.0: remove lots of unused variables
parent
24f035a7b7
commit
51ed4c977a
|
|
@ -83,7 +83,6 @@ private:
|
|||
bool haveValuesChanged() const;
|
||||
|
||||
LLSD mInitialValues;
|
||||
bool mWaitingToClose;
|
||||
};
|
||||
|
||||
#endif // LL_LLFLOATERMEDIASETTINGS_H
|
||||
|
|
|
|||
|
|
@ -121,12 +121,6 @@ S32 LLFloaterModelPreview::sUploadAmount = 10;
|
|||
LLFloaterModelPreview* LLFloaterModelPreview::sInstance = NULL;
|
||||
std::list<LLModelLoader*> LLModelLoader::sActiveLoaderList;
|
||||
|
||||
const S32 PREVIEW_BORDER_WIDTH = 2;
|
||||
const S32 PREVIEW_RESIZE_HANDLE_SIZE = S32(RESIZE_HANDLE_WIDTH * OO_SQRT2) + PREVIEW_BORDER_WIDTH;
|
||||
const S32 PREVIEW_HPAD = PREVIEW_RESIZE_HANDLE_SIZE;
|
||||
const S32 PREF_BUTTON_HEIGHT = 16 + 7 + 16;
|
||||
const S32 PREVIEW_TEXTURE_HEIGHT = 300;
|
||||
|
||||
// "Retain%" decomp parameter has values from 0.0 to 1.0 by 0.01
|
||||
// But according to the UI spec for upload model floater, this parameter
|
||||
// should be represented by Retain spinner with values from 1 to 100 by 1.
|
||||
|
|
|
|||
|
|
@ -52,14 +52,9 @@
|
|||
#include "llinventorytype.h"
|
||||
|
||||
const S32 PREVIEW_LINE_HEIGHT = 19;
|
||||
const S32 PREVIEW_CLOSE_BOX_SIZE = 16;
|
||||
const S32 PREVIEW_BORDER_WIDTH = 2;
|
||||
const S32 PREVIEW_RESIZE_HANDLE_SIZE = S32(RESIZE_HANDLE_WIDTH * OO_SQRT2) + PREVIEW_BORDER_WIDTH;
|
||||
const S32 PREVIEW_VPAD = 2;
|
||||
const S32 PREVIEW_HPAD = PREVIEW_RESIZE_HANDLE_SIZE;
|
||||
const S32 PREVIEW_HEADER_SIZE = 3 * PREVIEW_LINE_HEIGHT + PREVIEW_VPAD;
|
||||
const S32 PREF_BUTTON_WIDTH = 64;
|
||||
const S32 PREF_BUTTON_HEIGHT = 16;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// LLFloaterNameDesc()
|
||||
|
|
|
|||
|
|
@ -117,7 +117,6 @@ protected:
|
|||
|
||||
|
||||
S32 LLFloaterPay::sLastAmount = 0;
|
||||
const S32 MAX_AMOUNT_LENGTH = 10;
|
||||
const S32 FASTPAY_BUTTON_WIDTH = 80;
|
||||
|
||||
LLFloaterPay::LLFloaterPay(const LLSD& key)
|
||||
|
|
|
|||
|
|
@ -109,13 +109,9 @@
|
|||
#include "lllogininstance.h" // to check if logged in yet
|
||||
#include "llsdserialize.h"
|
||||
|
||||
const F32 MAX_USER_FAR_CLIP = 512.f;
|
||||
const F32 MIN_USER_FAR_CLIP = 64.f;
|
||||
const F32 BANDWIDTH_UPDATER_TIMEOUT = 0.5f;
|
||||
char const* const VISIBILITY_DEFAULT = "default";
|
||||
char const* const VISIBILITY_HIDDEN = "hidden";
|
||||
char const* const VISIBILITY_VISIBLE = "visible";
|
||||
char const* const VISIBILITY_INVISIBLE = "invisible";
|
||||
|
||||
//control value for middle mouse as talk2push button
|
||||
const static std::string MIDDLE_MOUSE_CV = "MiddleMouse";
|
||||
|
|
|
|||
|
|
@ -82,8 +82,6 @@
|
|||
|
||||
#include "lltrans.h"
|
||||
|
||||
const U32 INCLUDE_SCREENSHOT = 0x01 << 0;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Globals
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -170,21 +170,17 @@ private:
|
|||
LLSD mContent;
|
||||
LLUUID mParcelId;
|
||||
bool mGotParcelMemoryUsed;
|
||||
bool mGotParcelMemoryUsedDetails;
|
||||
bool mGotParcelMemoryMax;
|
||||
S32 mParcelMemoryMax;
|
||||
S32 mParcelMemoryUsed;
|
||||
S32 mParcelMemoryUsedDetails;
|
||||
|
||||
|
||||
bool mGotParcelURLsUsed;
|
||||
bool mGotParcelURLsUsedDetails;
|
||||
bool mGotParcelURLsMax;
|
||||
S32 mParcelURLsMax;
|
||||
S32 mParcelURLsUsed;
|
||||
S32 mParcelURLsUsedDetails;
|
||||
|
||||
|
||||
std::vector<LLSD> mObjectListItems;
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
// LLRemoteParcelInfoObserver interface:
|
||||
|
|
@ -208,17 +204,11 @@ public:
|
|||
LLPanelScriptLimitsAttachment()
|
||||
: LLPanelScriptLimitsInfo(),
|
||||
mGotAttachmentMemoryUsed(false),
|
||||
mGotAttachmentMemoryUsedDetails(false),
|
||||
mGotAttachmentMemoryMax(false),
|
||||
mAttachmentMemoryMax(0),
|
||||
mAttachmentMemoryUsed(0),
|
||||
mAttachmentMemoryUsedDetails(0),
|
||||
mGotAttachmentURLsUsed(false),
|
||||
mGotAttachmentURLsUsedDetails(false),
|
||||
mGotAttachmentURLsMax(false),
|
||||
mAttachmentURLsMax(0),
|
||||
mAttachmentURLsUsed(0),
|
||||
mAttachmentURLsUsedDetails(0)
|
||||
mAttachmentURLsUsed(0)
|
||||
{};
|
||||
|
||||
~LLPanelScriptLimitsAttachment()
|
||||
|
|
@ -237,18 +227,12 @@ public:
|
|||
private:
|
||||
|
||||
bool mGotAttachmentMemoryUsed;
|
||||
bool mGotAttachmentMemoryUsedDetails;
|
||||
bool mGotAttachmentMemoryMax;
|
||||
S32 mAttachmentMemoryMax;
|
||||
S32 mAttachmentMemoryUsed;
|
||||
S32 mAttachmentMemoryUsedDetails;
|
||||
|
||||
|
||||
bool mGotAttachmentURLsUsed;
|
||||
bool mGotAttachmentURLsUsedDetails;
|
||||
bool mGotAttachmentURLsMax;
|
||||
S32 mAttachmentURLsMax;
|
||||
S32 mAttachmentURLsUsed;
|
||||
S32 mAttachmentURLsUsedDetails;
|
||||
|
||||
protected:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue