[Bf-blender-cvs] [19a1855] temp-python-bvh: Remove unused var

Campbell Barton noreply at git.blender.org
Fri Jul 24 03:18:34 CEST 2015


Commit: 19a18557378f9b6107908ed2eb36595055d1d715
Author: Campbell Barton
Date:   Fri Jul 24 11:13:03 2015 +1000
Branches: temp-python-bvh
https://developer.blender.org/rB19a18557378f9b6107908ed2eb36595055d1d715

Remove unused var

===================================================================

M	source/blender/python/mathutils/mathutils_bvhtree.c

===================================================================

diff --git a/source/blender/python/mathutils/mathutils_bvhtree.c b/source/blender/python/mathutils/mathutils_bvhtree.c
index 310ec41..7082d9c 100644
--- a/source/blender/python/mathutils/mathutils_bvhtree.c
+++ b/source/blender/python/mathutils/mathutils_bvhtree.c
@@ -933,7 +933,7 @@ static void bvhtree_custom_nearest_point_cb(void *userdata, int index, const flo
 	const BVHVertex *verts = self->vert;
 	const BVHTriangle *tris = self->tri;
 
-	const float *t0, *t1, *t2, *t3;
+	const float *t0, *t1, *t2;
 	t0 = verts[ tris->v1 ].co;
 	t1 = verts[ tris->v2 ].co;
 	t2 = verts[ tris->v3 ].co;




More information about the Bf-blender-cvs mailing list