Removed two local vars that were set and then never used.
authorKent Mein <mein@cs.umn.edu>
Tue, 21 Jan 2003 18:30:44 +0000 (18:30 +0000)
committerKent Mein <mein@cs.umn.edu>
Tue, 21 Jan 2003 18:30:44 +0000 (18:30 +0000)
(for example heres one:   bool isActor = objprop->m_isactor;)

Kent

source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp
source/gameengine/Ketsji/KX_GameActuator.cpp

index a6e7daadb2c04bbc1d61df1b848d0d5a7a5e8e37..a12b93cca801d7beaa010c295665ecb5256cea17 100644 (file)
@@ -416,7 +416,6 @@ void        KX_ConvertODEEngineObject(KX_GameObject* gameobj,
                physicscontroller->setClientInfo(gameobj);                                              
                gameobj->GetSGNode()->AddSGController(physicscontroller);
 
-               bool isActor = objprop->m_isactor;
                STR_String materialname;
                if (meshobj)
                        materialname = meshobj->GetMaterialName(0);
index b3e503592243ab79782001008c6d29609777c38e..8d136441b8437161b85abff9f10d850e5543a323 100644 (file)
@@ -85,7 +85,6 @@ CValue* KX_GameActuator::GetReplica()
 
 bool KX_GameActuator::Update(double curtime, double deltatime)
 {
-       bool result = false;    
        bool bNegativeEvent = IsNegativeEvent();
        RemoveAllEvents();