Removed unused var here is the diff:

Kent


Index: gameengine/Ketsji/KX_PyConstraintBinding.cpp
===================================================================
RCS file: /cvs01/blender/source/gameengine/Ketsji/KX_PyConstraintBinding.cpp,v
retrieving revision 1.3
diff -u -r1.3 KX_PyConstraintBinding.cpp
--- gameengine/Ketsji/KX_PyConstraintBinding.cpp        25 Nov 2002 15:29:49 -0000      1.3
+++ gameengine/Ketsji/KX_PyConstraintBinding.cpp        30 Dec 2002 07:08:18 -0000
@@ -128,7 +128,6 @@
 {
        int constraintid;

-       int len = PyTuple_Size(args);
        if (PyArg_ParseTuple(args,"i",&constraintid))
        {
                if (g_physics_env)
This commit is contained in:
Kent Mein 2002-12-30 07:09:23 +00:00
parent 558930efdf
commit cc95cdd390

@ -128,7 +128,6 @@ static PyObject* gPyRemoveConstraint(PyObject* self,
{
int constraintid;
int len = PyTuple_Size(args);
if (PyArg_ParseTuple(args,"i",&constraintid))
{
if (g_physics_env)
@ -140,9 +139,6 @@ static PyObject* gPyRemoveConstraint(PyObject* self,
}
static struct PyMethodDef physicsconstraints_methods[] = {
{"setGravity",(PyCFunction) gPySetGravity,
METH_VARARGS, gPySetGravity__doc__},