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/bpy_data.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/bpy_data.c')
-rw-r--r-- | source/blender/python/api2_2x/bpy_data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/bpy_data.c b/source/blender/python/api2_2x/bpy_data.c index b775c0a8236..edb894bd982 100644 --- a/source/blender/python/api2_2x/bpy_data.c +++ b/source/blender/python/api2_2x/bpy_data.c @@ -407,7 +407,7 @@ PyObject *LibBlockSeq_new(BPy_LibBlockSeq *self, PyObject * args, PyObject *kwd) static char *kwlist[] = {"name", "filename", NULL}; if(PyArg_ParseTupleAndKeywords(args, kwd, "|ss", kwlist, &name, &filename) && filename ) { - PyObject *ret; + PyObject *ret= NULL; if (strlen(filename) > FILE_MAXDIR + FILE_MAXFILE - 1) return ( EXPP_ReturnPyObjError( PyExc_IOError, |