diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-01-15 18:48:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-01-15 18:48:46 +0300 |
commit | f66912a3351fc094e30daa5de53bef734493ad66 (patch) | |
tree | adb10b076dcba7ddf5085879a636d5fe27f26c86 /source | |
parent | c6abe115129651abd80aa361ca9bf717cf81c382 (diff) |
misc edits, no functional changes
- enabling/disabling no longer prints in the terminal unless in debug mode.
- remove 'header' struct from BLI_storage_types.h, from revision 2 and is not used.
- Add GCC property to guardedalloc to warn if the return value from allocation functions isn't used.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenlib/BLI_storage_types.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/source/blender/blenlib/BLI_storage_types.h b/source/blender/blenlib/BLI_storage_types.h index bc3584db03e..aabaf952228 100644 --- a/source/blender/blenlib/BLI_storage_types.h +++ b/source/blender/blenlib/BLI_storage_types.h @@ -35,16 +35,6 @@ #include <sys/stat.h> -#define HDRSIZE 512 -#define NAMSIZE 200 - -struct header{ - char name[NAMSIZE]; - unsigned int size; - unsigned int chksum; - char fill[HDRSIZE-NAMSIZE-2*sizeof(unsigned int)]; -}; - #if defined(WIN32) && !defined(FREE_WINDOWS) typedef unsigned int mode_t; #endif |