Update to build on Xcode 6.0: collection of removal of unused variables [-Wunused-variable]
parent
2b93f505a0
commit
bdce32a02b
|
|
@ -54,7 +54,6 @@
|
|||
const F32 MIN_INTERPOLATE_DISTANCE_SQUARED = 0.001f * 0.001f;
|
||||
const F32 MAX_INTERPOLATE_DISTANCE_SQUARED = 10.f * 10.f;
|
||||
const F32 OBJECT_DAMPING_TIME_CONSTANT = 0.06f;
|
||||
const F32 MIN_SHADOW_CASTER_RADIUS = 2.0f;
|
||||
|
||||
static LLTrace::BlockTimerStatHandle FTM_CULL_REBOUND("Cull Rebound");
|
||||
|
||||
|
|
|
|||
|
|
@ -71,8 +71,6 @@ extern BOOL gUseGLPick;
|
|||
|
||||
F32 CLOTHING_GRAVITY_EFFECT = 0.7f;
|
||||
F32 CLOTHING_ACCEL_FORCE_FACTOR = 0.2f;
|
||||
const S32 NUM_TEST_AVATARS = 30;
|
||||
const S32 MIN_PIXEL_AREA_2_PASS_SKINNING = 500000000;
|
||||
|
||||
// Format for gAGPVertices
|
||||
// vertex format for bumpmapping:
|
||||
|
|
|
|||
|
|
@ -361,7 +361,6 @@ BOOL LLFastTimerView::handleScrollWheel(S32 x, S32 y, S32 clicks)
|
|||
|
||||
static BlockTimerStatHandle FTM_RENDER_TIMER("Timers");
|
||||
static const S32 MARGIN = 10;
|
||||
static const S32 LEGEND_WIDTH = 220;
|
||||
|
||||
static std::vector<LLColor4> sTimerColors;
|
||||
|
||||
|
|
|
|||
|
|
@ -164,11 +164,9 @@ private:
|
|||
#if LL_DARWIN
|
||||
S32 mPickOptions;
|
||||
std::vector<std::string> mFileVector;
|
||||
UInt32 mFileIndex;
|
||||
|
||||
bool doNavChooseDialog(ELoadFilter filter);
|
||||
bool doNavSaveDialog(ESaveFilter filter, const std::string& filename);
|
||||
//static Boolean navOpenFilterProc(AEDesc *theItem, void *info, void *callBackUD, NavFilterModes filterMode);
|
||||
std::vector<std::string>* navOpenFilterProc(ELoadFilter filter);
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -65,9 +65,6 @@
|
|||
|
||||
// NOTE: This is duplicated in lldatamoney.cpp ...
|
||||
const F32 GROUP_LAND_BONUS_FACTOR = 1.1f;
|
||||
const F64 CURRENCY_ESTIMATE_FREQUENCY = 0.5;
|
||||
// how long of a pause in typing a currency buy amount before an
|
||||
// estimate is fetched from the server
|
||||
|
||||
class LLFloaterBuyLandUI
|
||||
: public LLFloater
|
||||
|
|
|
|||
|
|
@ -47,9 +47,7 @@ static LLDefaultChildRegistry::Register<LLPanelCameraItem> r("panel_camera_item"
|
|||
const F32 NUDGE_TIME = 0.25f; // in seconds
|
||||
const F32 ORBIT_NUDGE_RATE = 0.05f; // fraction of normal speed
|
||||
|
||||
// Constants
|
||||
const F32 CAMERA_BUTTON_DELAY = 0.0f;
|
||||
|
||||
// constants
|
||||
#define ORBIT "cam_rotate_stick"
|
||||
#define PAN "cam_track_stick"
|
||||
#define ZOOM "zoom"
|
||||
|
|
|
|||
|
|
@ -59,7 +59,6 @@ static LLPanelInjector<LLFacebookPhotoPanel> t_panel_photo("llfacebookphotopanel
|
|||
static LLPanelInjector<LLFacebookCheckinPanel> t_panel_checkin("llfacebookcheckinpanel");
|
||||
static LLPanelInjector<LLFacebookFriendsPanel> t_panel_friends("llfacebookfriendspanel");
|
||||
|
||||
const S32 MAX_POSTCARD_DATASIZE = 1024 * 1024; // one megabyte
|
||||
const std::string DEFAULT_CHECKIN_LOCATION_URL = "http://maps.secondlife.com/";
|
||||
const std::string DEFAULT_CHECKIN_ICON_URL = "http://map.secondlife.com.s3.amazonaws.com/map_placeholder.png";
|
||||
const std::string DEFAULT_CHECKIN_QUERY_PARAMETERS = "?sourceid=slshare_checkin&utm_source=facebook&utm_medium=checkin&utm_campaign=slshare";
|
||||
|
|
|
|||
|
|
@ -55,7 +55,6 @@
|
|||
static LLPanelInjector<LLFlickrPhotoPanel> t_panel_photo("llflickrphotopanel");
|
||||
static LLPanelInjector<LLFlickrAccountPanel> t_panel_account("llflickraccountpanel");
|
||||
|
||||
const S32 MAX_POSTCARD_DATASIZE = 1024 * 1024; // one megabyte
|
||||
const std::string DEFAULT_PHOTO_QUERY_PARAMETERS = "?sourceid=slshare_photo&utm_source=flickr&utm_medium=photo&utm_campaign=slshare";
|
||||
const std::string DEFAULT_TAG_TEXT = "secondlife ";
|
||||
const std::string FLICKR_MACHINE_TAGS_NAMESPACE = "secondlife";
|
||||
|
|
|
|||
|
|
@ -401,14 +401,9 @@ void LLFloaterGodTools::sendGodUpdateRegionInfo()
|
|||
|
||||
// Floats because spinners only support floats. JC
|
||||
const F32 BILLABLE_FACTOR_DEFAULT = 1;
|
||||
const F32 BILLABLE_FACTOR_MIN = 0.0f;
|
||||
const F32 BILLABLE_FACTOR_MAX = 4.f;
|
||||
|
||||
// floats because spinners only understand floats. JC
|
||||
const F32 PRICE_PER_METER_DEFAULT = 1.f;
|
||||
const F32 PRICE_PER_METER_MIN = 0.f;
|
||||
const F32 PRICE_PER_METER_MAX = 100.f;
|
||||
|
||||
|
||||
LLPanelRegionTools::LLPanelRegionTools()
|
||||
: LLPanel()
|
||||
|
|
@ -833,9 +828,6 @@ void LLPanelRegionTools::onSelectRegion()
|
|||
// ^ ^ ^
|
||||
// LEFT R2 RIGHT
|
||||
|
||||
const F32 HOURS_TO_RADIANS = (2.f*F_PI)/24.f;
|
||||
|
||||
|
||||
LLPanelGridTools::LLPanelGridTools() :
|
||||
LLPanel()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -52,10 +52,7 @@
|
|||
// The minor cardinal direction labels are hidden if their height is more
|
||||
// than this proportion of the map.
|
||||
const F32 MAP_MINOR_DIR_THRESHOLD = 0.07f;
|
||||
const S32 MAP_PADDING_LEFT = 0;
|
||||
const S32 MAP_PADDING_TOP = 2;
|
||||
const S32 MAP_PADDING_RIGHT = 2;
|
||||
const S32 MAP_PADDING_BOTTOM = 0;
|
||||
|
||||
//
|
||||
// Member functions
|
||||
//
|
||||
|
|
|
|||
Loading…
Reference in New Issue