resolve some compiler warnings with intel c/c++ compiler
authorCampbell Barton <ideasman42@gmail.com>
Mon, 29 Sep 2008 17:08:11 +0000 (17:08 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 29 Sep 2008 17:08:11 +0000 (17:08 +0000)
commit2a331067cc52693aa903a0487be29c93298c4b8b
tree814fba88bc5af1de58ea6ef12958e38daa1b9fb4
parent7ebeceb399002076106333202ec59483fc3ed4ba
resolve some compiler warnings with intel c/c++ compiler
* subsurf code had a lot of unused variables, removed these where they are obviously not needed. commented if they could be useful later.
* some variables declorations hide existing variables (many of these left), but fixed some that could cause confusion.
* removed unused vars
* obscure python memory leak with colorband.
* make_sample_tables had a loop running wasnt used.
* if 0'd functions in arithb.c that are not used yet.
* made many functions static
77 files changed:
intern/SoundSystem/intern/SND_Utils.cpp
source/blender/blenkernel/BKE_writeframeserver.h
source/blender/blenkernel/intern/CCGSubSurf.c
source/blender/blenkernel/intern/CCGSubSurf.h
source/blender/blenkernel/intern/DerivedMesh.c
source/blender/blenkernel/intern/cdderivedmesh.c
source/blender/blenkernel/intern/customdata.c
source/blender/blenkernel/intern/displist.c
source/blender/blenkernel/intern/idprop.c
source/blender/blenkernel/intern/image.c
source/blender/blenkernel/intern/modifier.c
source/blender/blenkernel/intern/particle.c
source/blender/blenkernel/intern/particle_system.c
source/blender/blenkernel/intern/softbody.c
source/blender/blenkernel/intern/subsurf_ccg.c
source/blender/blenkernel/intern/writeframeserver.c
source/blender/blenlib/intern/arithb.c
source/blender/blenlib/intern/bpath.c
source/blender/blenlib/intern/psfont.c
source/blender/blenloader/BLO_soundfile.h
source/blender/blenloader/intern/readfile.c
source/blender/blenloader/intern/writefile.c
source/blender/include/BIF_editmesh.h
source/blender/include/BIF_editparticle.h
source/blender/include/BIF_retopo.h
source/blender/python/BPY_interface.c
source/blender/python/api2_2x/Armature.c
source/blender/python/api2_2x/Draw.c
source/blender/python/api2_2x/Geometry.c
source/blender/python/api2_2x/Group.c
source/blender/python/api2_2x/IDProp.c
source/blender/python/api2_2x/Ipo.c
source/blender/python/api2_2x/Material.c
source/blender/python/api2_2x/Mesh.c
source/blender/python/api2_2x/NMesh.c
source/blender/python/api2_2x/Object.c
source/blender/python/api2_2x/Scene.c
source/blender/python/api2_2x/Sys.c
source/blender/python/api2_2x/Window.c
source/blender/python/api2_2x/bpy_data.c
source/blender/python/api2_2x/constant.c
source/blender/python/api2_2x/matrix.c
source/blender/python/api2_2x/sceneRender.c
source/blender/python/api2_2x/sceneSequence.c
source/blender/radiosity/intern/source/radfactors.c
source/blender/radiosity/intern/source/radnode.c
source/blender/radiosity/intern/source/radpreprocess.c
source/blender/render/intern/source/convertblender.c
source/blender/render/intern/source/initrender.c
source/blender/render/intern/source/occlusion.c
source/blender/render/intern/source/rayshade.c
source/blender/render/intern/source/shadeoutput.c
source/blender/render/intern/source/texture.c
source/blender/src/buttons_editing.c
source/blender/src/buttons_logic.c
source/blender/src/drawimage.c
source/blender/src/drawtext.c
source/blender/src/drawview.c
source/blender/src/edit.c
source/blender/src/editface.c
source/blender/src/editmesh.c
source/blender/src/editmesh_add.c
source/blender/src/editmesh_loop.c
source/blender/src/editmesh_tools.c
source/blender/src/editparticle.c
source/blender/src/editsima.c
source/blender/src/editsound.c
source/blender/src/meshtools.c
source/blender/src/parametrizer.c
source/blender/src/retopo.c
source/blender/src/sculptmode.c
source/blender/src/seqaudio.c
source/blender/src/space.c
source/blender/src/transform_ndofinput.c
source/blender/src/unwrapper.c
source/blender/src/vpaint.c
source/creator/creator.c