- remove all unused variables as reported by clang (and issue #35)

This commit is contained in:
SoftCoder 2015-11-29 16:00:03 -08:00
parent 9fc7b9f72c
commit 63bf258705
4 changed files with 5 additions and 3 deletions

View File

@ -41,7 +41,7 @@ namespace Glest { namespace Game{
uint32 Renderer::SurfaceData::nextUniqueId = 1;
bool Renderer::renderText3DEnabled = true;
const float SKIP_INTERPOLATION_DISTANCE = 20.0f;
//const float SKIP_INTERPOLATION_DISTANCE = 20.0f;
const string DEFAULT_CHAR_FOR_WIDTH_CALC = "V";
enum PROJECTION_TO_INFINITY {

View File

@ -69,7 +69,9 @@ std::string getRegKey(const std::string& location, const std::string& name){
#endif
const string HTTP_PREFIX = "http";
#ifdef HAS_LIBVLC
const double MAX_VIDEO_START_MILLISECONDS = 10.0;
#endif
class ctx {
public:

View File

@ -33,7 +33,7 @@ log10_2hi = 3.0102920532e-01f, /* 0x3e9a2080 */
log10_2lo = 7.9034151668e-07f; /* 0x355427db */
#ifdef __STDC__
static const Simple zero = 0.0f;
//static const Simple zero = 0.0f;
#else
static Simple zero = 0.0f;
#endif

View File

@ -23,7 +23,7 @@ static char rcsid[] = "$NetBSD: s_cosf.c,v 1.4f 1995/05/10 20:47:03 jtc Exp $";
namespace streflop_libm {
#ifdef __STDC__
static const Simple one=1.0f;
//static const Simple one=1.0f;
#else
static Simple one=1.0f;
#endif