From 672a66905b0aca8a7099de3743d1e42059c4fc98 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Mon, 17 Sep 2007 06:11:06 +0000 Subject: Patch/Bugfix #7334 by 'gsr b3d: Some more compiler warning fixes. Some of these seem to be specific to GCC 4.1 --- source/blender/python/api2_2x/Noise.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/python/api2_2x/Noise.c') diff --git a/source/blender/python/api2_2x/Noise.c b/source/blender/python/api2_2x/Noise.c index 5253ea810b0..c1a41d46714 100644 --- a/source/blender/python/api2_2x/Noise.c +++ b/source/blender/python/api2_2x/Noise.c @@ -199,7 +199,7 @@ static PyObject *Noise_random( PyObject * self ) static PyObject *Noise_randuvec( PyObject * self ) { - float v[3]; + float v[3] = {0.0f, 0.0f, 0.0f}; randuvec( v ); return Py_BuildValue( "[fff]", v[0], v[1], v[2] ); } -- cgit v1.2.3