From 1c62165a2b920c5381e846a5b6d600644d3fb648 Mon Sep 17 00:00:00 2001
From: "Brad Payne (Vir Linden)" <vir@lindenlab.com>
Date: Tue, 5 Jun 2018 20:35:48 +0100
Subject: [PATCH] SL-915 - removed no optimize pragmas

---
 indra/llmath/llrigginginfo.cpp   | 5 -----
 indra/newview/llskinningutil.cpp | 5 -----
 indra/newview/llvoavatar.cpp     | 5 -----
 indra/newview/llvovolume.cpp     | 5 -----
 4 files changed, 20 deletions(-)

diff --git a/indra/llmath/llrigginginfo.cpp b/indra/llmath/llrigginginfo.cpp
index 18fea2088c5..925179c2baa 100644
--- a/indra/llmath/llrigginginfo.cpp
+++ b/indra/llmath/llrigginginfo.cpp
@@ -27,11 +27,6 @@
 #include "llmath.h"
 #include "llrigginginfo.h"
 
-#ifndef LL_RELEASE_FOR_DOWNLOAD
-// AXON to remove
-#pragma optimize("", off)
-#endif
-
 //-----------------------------------------------------------------------------
 // LLJointRiggingInfo
 //-----------------------------------------------------------------------------
diff --git a/indra/newview/llskinningutil.cpp b/indra/newview/llskinningutil.cpp
index f446c578974..f4298ede23f 100644
--- a/indra/newview/llskinningutil.cpp
+++ b/indra/newview/llskinningutil.cpp
@@ -33,11 +33,6 @@
 #include "llmeshrepository.h"
 #include "llvolume.h"
 
-#ifndef LL_RELEASE_FOR_DOWNLOAD
-// AXON to remove
-#pragma optimize("", off)
-#endif
-
 // static
 void LLSkinningUtil::initClass()
 {
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index bbb0f732a11..93e470e0fbb 100644
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -112,11 +112,6 @@
 
 #include <boost/lexical_cast.hpp>
 
-#ifndef LL_RELEASE_FOR_DOWNLOAD
-// AXON to remove
-#pragma optimize("", off)
-#endif
-
 extern F32 SPEED_ADJUST_MAX;
 extern F32 SPEED_ADJUST_MAX_SEC;
 extern F32 ANIM_SPEED_MAX;
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp
index 81852cd8783..997af104c70 100644
--- a/indra/newview/llvovolume.cpp
+++ b/indra/newview/llvovolume.cpp
@@ -85,11 +85,6 @@
 #include "llviewerinventory.h"
 #include "llcallstack.h"
 
-#ifndef LL_RELEASE_FOR_DOWNLOAD
-// AXON to remove
-#pragma optimize("", off)
-#endif
-
 const F32 FORCE_SIMPLE_RENDER_AREA = 512.f;
 const F32 FORCE_CULL_AREA = 8.f;
 U32 JOINT_COUNT_REQUIRED_FOR_FULLRIG = 1;
-- 
GitLab