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:
authorJoseph Gilbert <ascotan@gmail.com>2007-03-02 00:30:48 +0300
committerJoseph Gilbert <ascotan@gmail.com>2007-03-02 00:30:48 +0300
commit585edac6d2ef35f9199940e9d45aaef412860e45 (patch)
tree7dffb1a303879a5d523d4ba592d310941379780b /source/blender/python/api2_2x/IDProp.c
parentccefcc8a79c1f200feecef6e11ba516953b7b5e2 (diff)
various warnings fixes - mostly casting and initialization issues
Diffstat (limited to 'source/blender/python/api2_2x/IDProp.c')
-rw-r--r--source/blender/python/api2_2x/IDProp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/IDProp.c b/source/blender/python/api2_2x/IDProp.c
index 0f69c6004d7..34da92484a9 100644
--- a/source/blender/python/api2_2x/IDProp.c
+++ b/source/blender/python/api2_2x/IDProp.c
@@ -211,7 +211,7 @@ PyObject *BPy_IDGroup_Map_GetItem(BPy_IDProperty *self, PyObject *item)
char *BPy_IDProperty_Map_ValidateAndCreate(char *name, IDProperty *group, PyObject *ob)
{
IDProperty *prop = NULL, *prop2=NULL, *prev=NULL;
- IDPropertyTemplate val;
+ IDPropertyTemplate val = {0};
if (PyFloat_Check(ob)) {
val.f = (float) PyFloat_AsDouble(ob);