diff options
author | Ton Roosendaal <ton@blender.org> | 2009-01-17 17:56:12 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-01-17 17:56:12 +0300 |
commit | f705bdaa8903f4447072e31700500ce293a2c059 (patch) | |
tree | 9c85cff8aaf7d52f36f661c6b2e227156b5d92a2 /source/blender/blenlib/intern/fileops.c | |
parent | 932131be53cfe8c5068d9cc7b938544df63de0c3 (diff) |
2.5
Cleanup warnings from Joshua's commit (mostly unused variables,
but also used functions that were not prototyped).
Two bugfixes; passing on &ob->adt instead of ob->adt
But; the DNA system is now messed up, with two structs using
the same ID (nAction and bAction), that goes horrible wrong!
Diffstat (limited to 'source/blender/blenlib/intern/fileops.c')
-rw-r--r-- | source/blender/blenlib/intern/fileops.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/blenlib/intern/fileops.c b/source/blender/blenlib/intern/fileops.c index a64185a896a..676a7e32333 100644 --- a/source/blender/blenlib/intern/fileops.c +++ b/source/blender/blenlib/intern/fileops.c @@ -31,16 +31,13 @@ #include <stdio.h> #include <stdlib.h> -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include "zlib.h" #ifdef WIN32 #include "BLI_winstuff.h" #include <io.h> #else +#include <unistd.h> // for read close #include <sys/param.h> #endif |