[Bf-committers] blender/src warnings
Ton Roosendaal
ton at blender.org
Fri Jun 9 13:28:25 CEST 2006
Hi,
Work for Geoffrey, Andrea and... dunno!
I would *really* *really* *really* like to see the warning levels for
all developers made identical once.
There are some gcc-specific issues ("might be uninitialized") but
checking on "implicit declarations", "unused variables" and "return'
with no value" is definitely useful.
-Ton-
editmesh_mods.c:1491: warning: `select' might be used uninitialized in
this function
editmesh_tools.c: In function `append_weldedUVEdge':
editmesh_tools.c:5827: warning: `v1tfindex' might be used uninitialized
in this function
editmesh_tools.c:5827: warning: `v2tfindex' might be used uninitialized
in this function
editmesh_tools.c: In function `collapse_edgeuvs':
editmesh_tools.c:5898: warning: unused variable `eed'
editmesh_tools.c:5904: warning: `collectionfound' might be used
uninitialized in this function
header_image.c: In function `do_image_imagemenu':
header_image.c:757: warning: implicit declaration of function
`BIF_preview_changed'
header_view3d.c: In function `view3d_edit_object_makelocalmenu':
header_view3d.c:1708: warning: unused variable `ob'
interface_icons.c: In function `icon_from_image':
interface_icons.c:663: warning: unused variable `ima'
interface_icons.c:664: warning: unused variable `imb'
interface_icons.c:666: warning: unused variable `rect'
interface_icons.c: In function `icon_set_image':
interface_icons.c:716: warning: `return' with no value, in function
returning non-void
interface_icons.c: In function `BIF_icon_draw':
interface_icons.c:779: warning: implicit declaration of function
`waitcursor'
interface_icons.c:751: warning: unused variable `done'
seqaudio.c:91: warning: `wav_spec' defined but not used
transform_manipulator.c: In function `calc_manipulator_stats':
transform_manipulator.c:237: warning: implicit declaration of function
`EM_editselection_center'
transform_manipulator.c:241: warning: implicit declaration of function
`EM_editselection_normal'
transform_manipulator.c:242: warning: implicit declaration of function
`EM_editselection_plane'
------------------------------------------------------------------------
--
Ton Roosendaal Blender Foundation ton at blender.org
http://www.blender.org
More information about the Bf-committers
mailing list