diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-11-23 19:58:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-11-23 19:58:24 +0300 |
commit | 4cac7c88aa3614ecf4e46b580881399029e3f4da (patch) | |
tree | 8b5e3ecbff927ba65e4a5761374b628df309b561 /source/blender | |
parent | fe14b6d544b571514598ba55f267f0ba2a9bc544 (diff) |
bugfix: uninitialized values
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/python/intern/bpy_rna.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c index cdf4f518b51..22beb79ef59 100644 --- a/source/blender/python/intern/bpy_rna.c +++ b/source/blender/python/intern/bpy_rna.c @@ -3494,7 +3494,7 @@ PyObject *BPy_PointerProperty(PyObject *self, PyObject *args, PyObject *kw) else if(srna) { static char *kwlist[] = {"attr", "type", "name", "description", "hidden", NULL}; char *id=NULL, *name="", *description=""; - int hidden; + int hidden= 0; PropertyRNA *prop; StructRNA *ptype; PyObject *type= Py_None; @@ -3533,7 +3533,7 @@ PyObject *BPy_CollectionProperty(PyObject *self, PyObject *args, PyObject *kw) else if(srna) { static char *kwlist[] = {"attr", "type", "name", "description", "hidden", NULL}; char *id=NULL, *name="", *description=""; - int hidden; + int hidden= 0; PropertyRNA *prop; StructRNA *ptype; PyObject *type= Py_None; |