Skip to content
Snippets Groups Projects
Commit 8db1250b authored by callum_linden's avatar callum_linden
Browse files

Update to build on Xcode 6.0: collection of similar const var not used...

Update to build on Xcode 6.0: collection of similar const var not used warnings/errors [-Wunused-const-variable]
parent 5c5821b7
Branches
Tags
No related merge requests found
...@@ -99,8 +99,6 @@ const char MEMINFO_FILE[] = "/proc/meminfo"; ...@@ -99,8 +99,6 @@ const char MEMINFO_FILE[] = "/proc/meminfo";
extern int errno; extern int errno;
#endif #endif
static const S32 CPUINFO_BUFFER_SIZE = 16383;
LLCPUInfo gSysCPU; LLCPUInfo gSysCPU;
// Don't log memory info any more often than this. It also serves as our // Don't log memory info any more often than this. It also serves as our
...@@ -672,8 +670,6 @@ const std::string& LLOSInfo::getOSVersionString() const ...@@ -672,8 +670,6 @@ const std::string& LLOSInfo::getOSVersionString() const
return mOSVersionString; return mOSVersionString;
} }
const S32 STATUS_SIZE = 8192;
//static //static
U32 LLOSInfo::getProcessVirtualSizeKB() U32 LLOSInfo::getProcessVirtualSizeKB()
{ {
......
...@@ -39,14 +39,10 @@ ...@@ -39,14 +39,10 @@
# error "architecture not supported" # error "architecture not supported"
#endif #endif
// //
// Locally used constants // Locally used constants
// //
const F64 SEC_TO_MICROSEC = 1000000.f;
const U64 SEC_TO_MICROSEC_U64 = 1000000; const U64 SEC_TO_MICROSEC_U64 = 1000000;
const F64 USEC_TO_SEC_F64 = 0.000001;
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// Globals and statics // Globals and statics
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
#include "llline.h" #include "llline.h"
#include "llrand.h" #include "llrand.h"
const F32 SOME_SMALL_NUMBER = 1.0e-5f;
const F32 SOME_VERY_SMALL_NUMBER = 1.0e-8f; const F32 SOME_VERY_SMALL_NUMBER = 1.0e-8f;
LLLine::LLLine() LLLine::LLLine()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment