Blender Git Commit Log
Git Commits -> Revision 0955c66
Revision 0955c66 by Campbell Barton (master) February 13, 2011, 10:52 (GMT) |
fix for warnings from Sparse static source code checker, mostly BKE/BLI and python functions. - use NULL rather then 0 where possible (makes code & function calls more readable IMHO). - set static variables and functions (exposed some unused vars/funcs). - use func(void) rather then func() for definitions. |
Commit Details:
Full Hash: 0955c664aa7c5fc5f0bd345c58219c40f04ab9c1
SVN Revision: 34816
Parent Commit: f3bd89b
Lines Changed: +948, -928
125 Modified Paths:
/source/blender/blenfont/intern/blf_glyph.c (+4, -4) (Diff)
/source/blender/blenfont/intern/blf_internal.h (+26, -21) (Diff)
/source/blender/blenfont/intern/blf_lang.c (+7, -5) (Diff)
/source/blender/blenfont/intern/blf_util.c (+1, -0) (Diff)
/source/blender/blenkernel/BKE_key.h (+4, -2) (Diff)
/source/blender/blenkernel/intern/action.c (+6, -6) (Diff)
/source/blender/blenkernel/intern/anim.c (+11, -10) (Diff)
/source/blender/blenkernel/intern/anim_sys.c (+4, -2) (Diff)
/source/blender/blenkernel/intern/armature.c (+6, -6) (Diff)
/source/blender/blenkernel/intern/blender.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/bmfont.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/brush.c (+9, -9) (Diff)
/source/blender/blenkernel/intern/CCGSubSurf.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+11, -11) (Diff)
/source/blender/blenkernel/intern/collision.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/constraint.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/context.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/curve.c (+26, -27) (Diff)
/source/blender/blenkernel/intern/customdata.c (+7, -7) (Diff)
/source/blender/blenkernel/intern/deform.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/displist.c (+10, -10) (Diff)
/source/blender/blenkernel/intern/effect.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/exotic.c (+2, -7) (Diff)
/source/blender/blenkernel/intern/fcurve.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/font.c (+13, -15) (Diff)
/source/blender/blenkernel/intern/icons.c (+11, -11) (Diff)
/source/blender/blenkernel/intern/idcode.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/idprop.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/image.c (+5, -5) (Diff)
/source/blender/blenkernel/intern/image_gen.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/ipo.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/key.c (+12, -12) (Diff)
/source/blender/blenkernel/intern/lattice.c (+6, -6) (Diff)
/source/blender/blenkernel/intern/library.c (+9, -9) (Diff)
/source/blender/blenkernel/intern/material.c (+18, -18) (Diff)
/source/blender/blenkernel/intern/mball.c (+26, -26) (Diff)
/source/blender/blenkernel/intern/mesh.c (+19, -19) (Diff)
/source/blender/blenkernel/intern/modifier.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/multires.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/nla.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/node.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/object.c (+19, -19) (Diff)
/source/blender/blenkernel/intern/packedFile.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/particle.c (+10, -10) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+6, -5) (Diff)
/source/blender/blenkernel/intern/property.c (+3, -1) (Diff)
/source/blender/blenkernel/intern/sca.c (+7, -7) (Diff)
/source/blender/blenkernel/intern/screen.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/seqcache.c (+14, -14) (Diff)
/source/blender/blenkernel/intern/seqeffects.c (+30, -30) (Diff)
/source/blender/blenkernel/intern/sequencer.c (+33, -32) (Diff)
/source/blender/blenkernel/intern/shrinkwrap.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/sketch.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/softbody.c (+6, -6) (Diff)
/source/blender/blenkernel/intern/sound.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/suggestions.c (+8, -8) (Diff)
/source/blender/blenkernel/intern/texture.c (+31, -31) (Diff)
/source/blender/blenkernel/intern/unit.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/world.c (+6, -5) (Diff)
/source/blender/blenlib/BLI_ghash.h (+1, -1) (Diff)
/source/blender/blenlib/intern/BLI_args.c (+1, -1) (Diff)
/source/blender/blenlib/intern/BLI_ghash.c (+1, -1) (Diff)
/source/blender/blenlib/intern/BLI_heap.c (+1, -1) (Diff)
/source/blender/blenlib/intern/BLI_kdopbvh.c (+3, -3) (Diff)
/source/blender/blenlib/intern/BLI_kdtree.c (+2, -2) (Diff)
/source/blender/blenlib/intern/bpath.c (+2, -2) (Diff)
/source/blender/blenlib/intern/freetypefont.c (+2, -2) (Diff)
/source/blender/blenlib/intern/graph.c (+2, -2) (Diff)
/source/blender/blenlib/intern/listbase.c (+7, -7) (Diff)
/source/blender/blenlib/intern/math_geom.c (+1, -1) (Diff)
/source/blender/blenlib/intern/math_matrix.c (+3, -3) (Diff)
/source/blender/blenlib/intern/math_rotation.c (+1, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+31, -31) (Diff)
/source/blender/blenloader/intern/writefile.c (+1, -3) (Diff)
/source/blender/editors/animation/anim_channels_defines.c (+7, -7) (Diff)
/source/blender/editors/animation/anim_channels_edit.c (+17, -17) (Diff)
/source/blender/editors/animation/anim_draw.c (+2, -2) (Diff)
/source/blender/editors/animation/anim_filter.c (+1, -1) (Diff)
/source/blender/editors/animation/anim_ipo_utils.c (+2, -2) (Diff)
/source/blender/editors/animation/anim_markers.c (+2, -2) (Diff)
/source/blender/editors/animation/anim_ops.c (+5, -4) (Diff)
/source/blender/editors/animation/drivers.c (+9, -4) (Diff)
/source/blender/editors/animation/keyframing.c (+2, -2) (Diff)
/source/blender/editors/animation/keyingsets.c (+2, -2) (Diff)
/source/blender/editors/armature/editarmature.c (+2, -2) (Diff)
/source/blender/editors/armature/editarmature_retarget.c (+5, -5) (Diff)
/source/blender/editors/curve/editcurve.c (+0, -1) (Diff)
/source/blender/editors/include/ED_types.h (+2, -2) (Diff)
/source/blender/editors/object/object_edit.c (+5, -5) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+4, -2) (Diff)
/source/blender/editors/space_console/console_draw.c (+2, -2) (Diff)
/source/blender/editors/space_script/script_header.c (+3, -3) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+4, -4) (Diff)
/source/blender/editors/transform/transform.c (+8, -8) (Diff)
/source/blender/editors/transform/transform_conversions.c (+3, -3) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_object.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_shapekey.c (+12, -12) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_image.c (+1, -1) (Diff)
/source/blender/python/generic/bgl.c (+7, -7) (Diff)
/source/blender/python/generic/blf_py_api.c (+5, -5) (Diff)
/source/blender/python/generic/bpy_internal_import.c (+1, -1) (Diff)
/source/blender/python/generic/IDProp.c (+24, -24) (Diff)
/source/blender/python/generic/mathutils.c (+6, -6) (Diff)
/source/blender/python/generic/mathutils_Color.c (+31, -31) (Diff)
/source/blender/python/generic/mathutils_Euler.c (+31, -31) (Diff)
/source/blender/python/generic/mathutils_geometry.c (+5, -5) (Diff)
/source/blender/python/generic/mathutils_Matrix.c (+70, -70) (Diff)
/source/blender/python/generic/mathutils_quat.c (+54, -54) (Diff)
/source/blender/python/generic/mathutils_Vector.c (+36, -36) (Diff)
/source/blender/python/generic/noise.c (+7, -7) (Diff)
/source/blender/python/intern/bpy.c (+2, -1) (Diff)
/source/blender/python/intern/bpy_app.c (+2, -2) (Diff)
/source/blender/python/intern/bpy_interface.c (+2, -2) (Diff)
/source/blender/python/intern/bpy_props.c (+5, -5) (Diff)
/source/blender/python/intern/bpy_rna.c (+8, -8) (Diff)
/source/blender/python/intern/bpy_rna_callback.c (+2, -1) (Diff)
/source/blender/python/intern/bpy_rna_callback.h (+2, -2) (Diff)
/source/blender/python/intern/bpy_util.c (+1, -1) (Diff)
/source/blender/python/intern/bpy_util.h (+1, -1) (Diff)
/source/blender/render/intern/source/convertblender.c (+0, -2) (Diff)
/source/blender/render/intern/source/render_texture.c (+4, -4) (Diff)
/source/blender/render/intern/source/strand.c (+1, -1) (Diff)
/source/creator/creator.c (+1, -1) (Diff)
/source/blender/blenfont/intern/blf_internal.h (+26, -21) (Diff)
/source/blender/blenfont/intern/blf_lang.c (+7, -5) (Diff)
/source/blender/blenfont/intern/blf_util.c (+1, -0) (Diff)
/source/blender/blenkernel/BKE_key.h (+4, -2) (Diff)
/source/blender/blenkernel/intern/action.c (+6, -6) (Diff)
/source/blender/blenkernel/intern/anim.c (+11, -10) (Diff)
/source/blender/blenkernel/intern/anim_sys.c (+4, -2) (Diff)
/source/blender/blenkernel/intern/armature.c (+6, -6) (Diff)
/source/blender/blenkernel/intern/blender.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/bmfont.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/brush.c (+9, -9) (Diff)
/source/blender/blenkernel/intern/CCGSubSurf.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+11, -11) (Diff)
/source/blender/blenkernel/intern/collision.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/constraint.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/context.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/curve.c (+26, -27) (Diff)
/source/blender/blenkernel/intern/customdata.c (+7, -7) (Diff)
/source/blender/blenkernel/intern/deform.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/displist.c (+10, -10) (Diff)
/source/blender/blenkernel/intern/effect.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/exotic.c (+2, -7) (Diff)
/source/blender/blenkernel/intern/fcurve.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/font.c (+13, -15) (Diff)
/source/blender/blenkernel/intern/icons.c (+11, -11) (Diff)
/source/blender/blenkernel/intern/idcode.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/idprop.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/image.c (+5, -5) (Diff)
/source/blender/blenkernel/intern/image_gen.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/ipo.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/key.c (+12, -12) (Diff)
/source/blender/blenkernel/intern/lattice.c (+6, -6) (Diff)
/source/blender/blenkernel/intern/library.c (+9, -9) (Diff)
/source/blender/blenkernel/intern/material.c (+18, -18) (Diff)
/source/blender/blenkernel/intern/mball.c (+26, -26) (Diff)
/source/blender/blenkernel/intern/mesh.c (+19, -19) (Diff)
/source/blender/blenkernel/intern/modifier.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/multires.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/nla.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/node.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/object.c (+19, -19) (Diff)
/source/blender/blenkernel/intern/packedFile.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/particle.c (+10, -10) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+6, -5) (Diff)
/source/blender/blenkernel/intern/property.c (+3, -1) (Diff)
/source/blender/blenkernel/intern/sca.c (+7, -7) (Diff)
/source/blender/blenkernel/intern/screen.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/seqcache.c (+14, -14) (Diff)
/source/blender/blenkernel/intern/seqeffects.c (+30, -30) (Diff)
/source/blender/blenkernel/intern/sequencer.c (+33, -32) (Diff)
/source/blender/blenkernel/intern/shrinkwrap.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/sketch.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/softbody.c (+6, -6) (Diff)
/source/blender/blenkernel/intern/sound.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/suggestions.c (+8, -8) (Diff)
/source/blender/blenkernel/intern/texture.c (+31, -31) (Diff)
/source/blender/blenkernel/intern/unit.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/world.c (+6, -5) (Diff)
/source/blender/blenlib/BLI_ghash.h (+1, -1) (Diff)
/source/blender/blenlib/intern/BLI_args.c (+1, -1) (Diff)
/source/blender/blenlib/intern/BLI_ghash.c (+1, -1) (Diff)
/source/blender/blenlib/intern/BLI_heap.c (+1, -1) (Diff)
/source/blender/blenlib/intern/BLI_kdopbvh.c (+3, -3) (Diff)
/source/blender/blenlib/intern/BLI_kdtree.c (+2, -2) (Diff)
/source/blender/blenlib/intern/bpath.c (+2, -2) (Diff)
/source/blender/blenlib/intern/freetypefont.c (+2, -2) (Diff)
/source/blender/blenlib/intern/graph.c (+2, -2) (Diff)
/source/blender/blenlib/intern/listbase.c (+7, -7) (Diff)
/source/blender/blenlib/intern/math_geom.c (+1, -1) (Diff)
/source/blender/blenlib/intern/math_matrix.c (+3, -3) (Diff)
/source/blender/blenlib/intern/math_rotation.c (+1, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+31, -31) (Diff)
/source/blender/blenloader/intern/writefile.c (+1, -3) (Diff)
/source/blender/editors/animation/anim_channels_defines.c (+7, -7) (Diff)
/source/blender/editors/animation/anim_channels_edit.c (+17, -17) (Diff)
/source/blender/editors/animation/anim_draw.c (+2, -2) (Diff)
/source/blender/editors/animation/anim_filter.c (+1, -1) (Diff)
/source/blender/editors/animation/anim_ipo_utils.c (+2, -2) (Diff)
/source/blender/editors/animation/anim_markers.c (+2, -2) (Diff)
/source/blender/editors/animation/anim_ops.c (+5, -4) (Diff)
/source/blender/editors/animation/drivers.c (+9, -4) (Diff)
/source/blender/editors/animation/keyframing.c (+2, -2) (Diff)
/source/blender/editors/animation/keyingsets.c (+2, -2) (Diff)
/source/blender/editors/armature/editarmature.c (+2, -2) (Diff)
/source/blender/editors/armature/editarmature_retarget.c (+5, -5) (Diff)
/source/blender/editors/curve/editcurve.c (+0, -1) (Diff)
/source/blender/editors/include/ED_types.h (+2, -2) (Diff)
/source/blender/editors/object/object_edit.c (+5, -5) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+4, -2) (Diff)
/source/blender/editors/space_console/console_draw.c (+2, -2) (Diff)
/source/blender/editors/space_script/script_header.c (+3, -3) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+4, -4) (Diff)
/source/blender/editors/transform/transform.c (+8, -8) (Diff)
/source/blender/editors/transform/transform_conversions.c (+3, -3) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_object.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_shapekey.c (+12, -12) (Diff)
/source/blender/nodes/intern/CMP_nodes/CMP_image.c (+1, -1) (Diff)
/source/blender/python/generic/bgl.c (+7, -7) (Diff)
/source/blender/python/generic/blf_py_api.c (+5, -5) (Diff)
/source/blender/python/generic/bpy_internal_import.c (+1, -1) (Diff)
/source/blender/python/generic/IDProp.c (+24, -24) (Diff)
/source/blender/python/generic/mathutils.c (+6, -6) (Diff)
/source/blender/python/generic/mathutils_Color.c (+31, -31) (Diff)
/source/blender/python/generic/mathutils_Euler.c (+31, -31) (Diff)
/source/blender/python/generic/mathutils_geometry.c (+5, -5) (Diff)
/source/blender/python/generic/mathutils_Matrix.c (+70, -70) (Diff)
/source/blender/python/generic/mathutils_quat.c (+54, -54) (Diff)
/source/blender/python/generic/mathutils_Vector.c (+36, -36) (Diff)
/source/blender/python/generic/noise.c (+7, -7) (Diff)
/source/blender/python/intern/bpy.c (+2, -1) (Diff)
/source/blender/python/intern/bpy_app.c (+2, -2) (Diff)
/source/blender/python/intern/bpy_interface.c (+2, -2) (Diff)
/source/blender/python/intern/bpy_props.c (+5, -5) (Diff)
/source/blender/python/intern/bpy_rna.c (+8, -8) (Diff)
/source/blender/python/intern/bpy_rna_callback.c (+2, -1) (Diff)
/source/blender/python/intern/bpy_rna_callback.h (+2, -2) (Diff)
/source/blender/python/intern/bpy_util.c (+1, -1) (Diff)
/source/blender/python/intern/bpy_util.h (+1, -1) (Diff)
/source/blender/render/intern/source/convertblender.c (+0, -2) (Diff)
/source/blender/render/intern/source/render_texture.c (+4, -4) (Diff)
/source/blender/render/intern/source/strand.c (+1, -1) (Diff)
/source/creator/creator.c (+1, -1) (Diff)