diff options
author | Joshua Leung <aligorith@gmail.com> | 2007-09-17 10:11:06 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2007-09-17 10:11:06 +0400 |
commit | 672a66905b0aca8a7099de3743d1e42059c4fc98 (patch) | |
tree | 1c2af82bce01b8f676ebf908a1ec710bb675dba8 /source/blender/python/api2_2x/Noise.c | |
parent | a48f15e124ef441d5f644f49899e4939aa13dff3 (diff) |
Patch/Bugfix #7334 by 'gsr b3d:
Some more compiler warning fixes. Some of these seem to be specific to GCC 4.1
Diffstat (limited to 'source/blender/python/api2_2x/Noise.c')
-rw-r--r-- | source/blender/python/api2_2x/Noise.c | 2 |
1 files changed, 1 insertions, 1 deletions
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] ); } |