use gcc attrubutes to warn on unused return values and arguments which shouldnt be...
authorCampbell Barton <ideasman42@gmail.com>
Sun, 8 Jul 2012 06:00:27 +0000 (06:00 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 8 Jul 2012 06:00:27 +0000 (06:00 +0000)
commitb91bc4f037b5c3ce69fef2d6187690ce05ffea62
tree1743b926b26e6b06007744a002b4ce3014ad526d
parent8ce864784cc6aa5b0a5d27a5f3ef3da1240fab62
use gcc attrubutes to warn on unused return values and arguments which shouldnt be NULL.

also remove IDP_AppendArray's return value which wasnt the new item in the array (which is odd/misleading), but wasnt used anywhere either.
12 files changed:
intern/guardedalloc/MEM_guardedalloc.h
intern/guardedalloc/intern/mallocn.c
source/blender/blenkernel/BKE_idprop.h
source/blender/blenkernel/BKE_lamp.h
source/blender/blenkernel/BKE_library.h
source/blender/blenkernel/intern/idprop.c
source/blender/blenkernel/intern/lamp.c
source/blender/blenlib/BLI_string.h
source/blender/compositor/intern/COM_CompositorContext.cpp
source/blender/makesrna/intern/rna_mesh_api.c
source/blender/modifiers/intern/MOD_multires.c
source/blender/python/intern/bpy_library.c