diff --git a/indra/newview/llavatarrendernotifier.cpp b/indra/newview/llavatarrendernotifier.cpp index 921f1ceda166d48550662f18398a4ffecbc3c2f6..da8bfae1a9de8b042540dd01e287c809d7419aa1 100644 --- a/indra/newview/llavatarrendernotifier.cpp +++ b/indra/newview/llavatarrendernotifier.cpp @@ -37,7 +37,6 @@ #include "llnotifications.h" #include "llnotificationsutil.h" #include "llnotificationtemplate.h" -#include "llstartup.h" #include "lltimer.h" #include "llvoavatarself.h" #include "llviewercontrol.h" diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index 9e689d9821276fa12901f71d422730f4f968a644..3116aefaed16a10f738a5d52067bd9a43a1d3364 100755 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -8438,7 +8438,7 @@ void LLVOAvatar::calculateUpdateRenderComplexity() mVisualComplexity = cost; mVisualComplexityStale = false; - LLCachedControl<U32> show_my_complexity_changes(gSavedSettings, "ShowMyComplexityChanges", 20); + static LLCachedControl<U32> show_my_complexity_changes(gSavedSettings, "ShowMyComplexityChanges", 20); if (isSelf() && show_my_complexity_changes) {