Fix a bunch of compiler warnings

* Removed some unused vars
* Fixed some signed/unsigned comparison mismatch warnings
* Cast some int's to size_t when appropriate
* Removed some redundant casts
* silenced warnings about implicit conversions that lose precision
* changed origMousePos to an array of ints to match mousePos
This commit is contained in:
Graham Pentheny
2016-01-10 22:41:38 -05:00
committed by grahamboree
parent ac0316e6a8
commit 66c6060e95
7 changed files with 14 additions and 15 deletions
@@ -672,7 +672,6 @@ class TempObstacleHilightTool : public SampleTool
Sample_TempObstacles* m_sample;
float m_hitPos[3];
bool m_hitPosSet;
float m_agentRadius;
int m_drawType;
public:
@@ -680,7 +679,6 @@ public:
TempObstacleHilightTool() :
m_sample(0),
m_hitPosSet(false),
m_agentRadius(0),
m_drawType(DRAWDETAIL_AREAS)
{
m_hitPos[0] = m_hitPos[1] = m_hitPos[2] = 0;