From be979a0cac6aaa11293f123d1f4ef794bf23dba9 Mon Sep 17 00:00:00 2001 From: Rider Linden Date: Tue, 11 Sep 2018 14:48:10 -0700 Subject: OSX gets anoyingly cranky if I don't use a variable. --- indra/newview/llpanelenvironment.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/indra/newview/llpanelenvironment.cpp b/indra/newview/llpanelenvironment.cpp index d3325796fb..94fa198085 100644 --- a/indra/newview/llpanelenvironment.cpp +++ b/indra/newview/llpanelenvironment.cpp @@ -89,7 +89,10 @@ const U32 LLPanelEnvironmentInfo::DIRTY_FLAG_MASK( LLPanelEnvironmentInfo::DIRTY_FLAG_DAYOFFSET | LLPanelEnvironmentInfo::DIRTY_FLAG_ALTITUDES); +#if 0 +// Because the OSX is Very cranky when I don't use a variable. const U32 ALTITUDE_SLIDER_COUNT = 3; + const std::string alt_sliders[] = { "sld1", "sld2", @@ -102,6 +105,7 @@ const std::string alt_labels[] = { "alt3", "ground", }; +#endif //========================================================================= LLPanelEnvironmentInfo::LLPanelEnvironmentInfo(): -- cgit v1.2.3