From f38e0686d909aa0d2882c197aeff59eeefa17081 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Luc=20Peuri=C3=A8re?= Date: Sat, 4 Jun 2005 16:22:50 +0000 Subject: new round of warning fixes. we are now down to 24 with Xcode on blender alone with the following flags : -Wall -Wno-char-subscripts -Wno-missing-braces. the only one still worrying me is in rand.c line 57 : rand.c:57: integer constant is too large for "long" type but i have no clue about how correct cross-compiler and 32/64 bits friendly see also my mail to commiter list for signed/unsigned issues --- source/gameengine/Ketsji/KX_NearSensor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/gameengine/Ketsji/KX_NearSensor.cpp') diff --git a/source/gameengine/Ketsji/KX_NearSensor.cpp b/source/gameengine/Ketsji/KX_NearSensor.cpp index 9f9188ab9a1..bd3a4fc0b37 100644 --- a/source/gameengine/Ketsji/KX_NearSensor.cpp +++ b/source/gameengine/Ketsji/KX_NearSensor.cpp @@ -137,7 +137,7 @@ KX_NearSensor::~KX_NearSensor() bool KX_NearSensor::Evaluate(CValue* event) { bool result = false; - KX_GameObject* parent = static_cast(GetParent()); +// KX_GameObject* parent = static_cast(GetParent()); if (m_bTriggered != m_bLastTriggered) { @@ -166,7 +166,7 @@ bool KX_NearSensor::Evaluate(CValue* event) bool KX_NearSensor::NewHandleCollision(void* obj1,void* obj2,const PHY_CollData * coll_data) { - KX_TouchEventManager* toucheventmgr = static_cast(m_eventmgr); +// KX_TouchEventManager* toucheventmgr = static_cast(m_eventmgr); KX_GameObject* parent = static_cast(GetParent()); // need the mapping from PHY_IPhysicsController to gameobjects now -- cgit v1.2.3