diff options
author | Kent Mein <mein@cs.umn.edu> | 2004-07-16 18:45:06 +0400 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2004-07-16 18:45:06 +0400 |
commit | b07c5f20962420095c2b25f2bbfdc9477ff15f22 (patch) | |
tree | b06df746c780f398c348039159cad2da53b249d9 /source/blender/imbuf | |
parent | 376468d383791413ebdfaa311a8283d241eb6a1c (diff) |
Bunch of small fixes for warnings and whatnot....
intern/SoundSystem/intern/SND_AudioDevice.cpp
Initalized a var that could fall through with no value.
source/blender/readblenfile/intern/BLO_readblenfile.c
source/blender/src/space.c
intern/SoundSystem/intern/SND_Scene.cpp
source/gameengine/Converter/BL_MeshDeformer.cpp
removed unused var's
intern/SoundSystem/openal/pthread_cancel.cpp
fixed a nested /*
source/blender/imbuf/IMB_imbuf.h
added static to the type returned for addzbufImBuf
source/blender/imbuf/intern/IMB_bmp.h
had a wrong prototype
source/blender/src/view.c
added newline at end of file.
source/blender/src/sequence.c
removed unused var
added #include <stdlib.h> to avoid:
warning: implicit declaration of function `abs'
initalized a var that could have been used without being set.
Kent
Diffstat (limited to 'source/blender/imbuf')
-rw-r--r-- | source/blender/imbuf/IMB_imbuf.h | 2 | ||||
-rw-r--r-- | source/blender/imbuf/intern/IMB_bmp.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/imbuf/IMB_imbuf.h b/source/blender/imbuf/IMB_imbuf.h index 7f7b2b08a56..b5b97034769 100644 --- a/source/blender/imbuf/IMB_imbuf.h +++ b/source/blender/imbuf/IMB_imbuf.h @@ -184,7 +184,7 @@ struct ImBuf *IMB_dupImBuf(struct ImBuf *ibuf1); * * @attention Defined in allocimbuf.c */ -short addzbufImBuf(struct ImBuf * ibuf); +static short addzbufImBuf(struct ImBuf * ibuf); /** * diff --git a/source/blender/imbuf/intern/IMB_bmp.h b/source/blender/imbuf/intern/IMB_bmp.h index b0fde577b00..d220c564652 100644 --- a/source/blender/imbuf/intern/IMB_bmp.h +++ b/source/blender/imbuf/intern/IMB_bmp.h @@ -44,7 +44,7 @@ struct ImBuf; int imb_is_a_bmp(void *buf); struct ImBuf *imb_bmp_decode(unsigned char *mem, int size, int flags); -int bmp_savebmp(struct ImBuf *ibuf, int file, int flags); +short imb_savebmp(struct ImBuf *ibuf, int outfile, int flags); #endif |