diff options
Diffstat (limited to 'source/blender/blenlib/intern/storage.c')
-rw-r--r-- | source/blender/blenlib/intern/storage.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/source/blender/blenlib/intern/storage.c b/source/blender/blenlib/intern/storage.c index b7ac571f856..e9db148e992 100644 --- a/source/blender/blenlib/intern/storage.c +++ b/source/blender/blenlib/intern/storage.c @@ -29,6 +29,11 @@ * Some really low-level file thingies. */ +/** \file blender/blenlib/intern/storage.c + * \ingroup bli + */ + + #include <sys/types.h> #include <stdio.h> #include <stdlib.h> @@ -95,8 +100,7 @@ static int totnum,actnum; static struct direntry *files; -static struct ListBase dirbase_={ - 0,0}; +static struct ListBase dirbase_={NULL, NULL}; static struct ListBase *dirbase = &dirbase_; /* can return NULL when the size is not big enough */ @@ -395,7 +399,7 @@ unsigned int BLI_getdir(const char *dirname, struct direntry **filelist) // filesel.c:freefilelist() actnum = totnum = 0; - files = 0; + files = NULL; BLI_builddir(dirname,""); BLI_adddirstrings(); |