Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2007-09-17 10:11:06 +0400
committerJoshua Leung <aligorith@gmail.com>2007-09-17 10:11:06 +0400
commit672a66905b0aca8a7099de3743d1e42059c4fc98 (patch)
tree1c2af82bce01b8f676ebf908a1ec710bb675dba8 /source/blender/python/api2_2x/Mesh.c
parenta48f15e124ef441d5f644f49899e4939aa13dff3 (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/Mesh.c')
-rw-r--r--source/blender/python/api2_2x/Mesh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/Mesh.c b/source/blender/python/api2_2x/Mesh.c
index 6967b64da72..d2cc1edf3c3 100644
--- a/source/blender/python/api2_2x/Mesh.c
+++ b/source/blender/python/api2_2x/Mesh.c
@@ -1345,8 +1345,8 @@ static PyObject *Mesh_getProperty_internal(CustomData *data, int eindex, PyObjec
static PyObject *Mesh_setProperty_internal(CustomData *data, int eindex, PyObject *args)
{
CustomDataLayer *layer;
- int i,index, type = -1;
- float f;
+ int i = 0, index, type = -1;
+ float f = 0.0f;
char *s=NULL, *name=NULL;
MFloatProperty *pf;
MIntProperty *pi;