From 4cac7c88aa3614ecf4e46b580881399029e3f4da Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 23 Nov 2009 16:58:24 +0000 Subject: [PATCH] bugfix: uninitialized values --- source/blender/python/intern/bpy_rna.c | 4 ++-- 1 file 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;