d95bbb8922
Fixes the following GCC 5 warnings: ``` drivers/gles2/rasterizer_canvas_gles2.cpp:814:8: warning: variable 'rt_size' set but not used [-Wunused-but-set-variable] drivers/gles2/rasterizer_scene_gles2.cpp:2270:11: warning: variable 'vp_height' set but not used [-Wunused-but-set-variable] drivers/gles2/rasterizer_scene_gles2.cpp:2673:22: warning: variable 'e' set but not used [-Wunused-but-set-variable] drivers/gles2/rasterizer_scene_gles2.cpp:715:7: warning: variable 'no_cull' set but not used [-Wunused-but-set-variable] drivers/gles2/shader_gles2.cpp:693:14: warning: variable 'cc' set but not used [-Wunused-but-set-variable] drivers/gles3/rasterizer_canvas_gles3.cpp:1226:8: warning: variable 'rt_size' set but not used [-Wunused-but-set-variable] drivers/gles3/rasterizer_scene_gles3.cpp:3039:10: warning: variable 'contrib' set but not used [-Wunused-but-set-variable] drivers/gles3/rasterizer_scene_gles3.cpp:4504:32: warning: variable 'vp_height' set but not used [-Wunused-but-set-variable] editor/editor_inspector.cpp:272:9: warning: variable 'guide_color' set but not used [-Wunused-but-set-variable] editor/editor_themes.cpp:1067:14: warning: variable 'alpha3' set but not used [-Wunused-but-set-variable] editor/editor_themes.cpp:263:8: warning: variable 'script_bg_color' set but not used [-Wunused-but-set-variable] editor/plugins/collision_shape_2d_editor_plugin.cpp:326:11: warning: variable 'cpoint' set but not used [-Wunused-but-set-variable] editor/plugins/mesh_editor_plugin.cpp:72:9: warning: variable 'size' set but not used [-Wunused-but-set-variable] editor/plugins/shader_editor_plugin.cpp:471:12: warning: variable 'mpos' set but not used [-Wunused-but-set-variable] editor/plugins/shader_editor_plugin.cpp:89:8: warning: variable 'basetype_color' set but not used [-Wunused-but-set-variable] editor/plugins/shader_editor_plugin.cpp:90:8: warning: variable 'type_color' set but not used [-Wunused-but-set-variable] editor/plugins/shader_editor_plugin.cpp:92:8: warning: variable 'string_color' set but not used [-Wunused-but-set-variable] modules/visual_script/visual_script_editor.cpp:2521:7: warning: variable 'seq_connect' set but not used [-Wunused-but-set-variable] platform/android/export/export.cpp:580:12: warning: variable 'styles_count' set but not used [-Wunused-but-set-variable] platform/android/export/export.cpp:584:12: warning: variable 'styles_offset' set but not used [-Wunused-but-set-variable] platform/osx/export/export.cpp:464:9: warning: variable 'zerr' set but not used [-Wunused-but-set-variable] scene/2d/tile_map.cpp:260:10: warning: variable 'tcenter' set but not used [-Wunused-but-set-variable] scene/3d/light.cpp:166:7: warning: variable 'editor_ok' set but not used [-Wunused-but-set-variable] scene/3d/navigation.cpp:566:11: warning: variable 'closest_navmesh' set but not used [-Wunused-but-set-variable] scene/gui/rich_text_label.cpp:869:8: warning: variable 'size' set but not used [-Wunused-but-set-variable] scene/main/viewport.cpp:705:14: warning: variable 'xform' set but not used [-Wunused-but-set-variable] scene/main/viewport.cpp:706:8: warning: variable 'ss' set but not used [-Wunused-but-set-variable] scene/main/viewport.cpp:726:14: warning: variable 'xform' set but not used [-Wunused-but-set-variable] scene/main/viewport.cpp:727:8: warning: variable 'ss' set but not used [-Wunused-but-set-variable] scene/resources/material.cpp:430:7: warning: variable 'using_world' set but not used [-Wunused-but-set-variable] servers/visual/shader_language.cpp:2026:7: warning: variable 'all_const' set but not used [-Wunused-but-set-variable] servers/visual/visual_server_scene.cpp:1383:28: warning: variable 'z_max_cam' set but not used [-Wunused-but-set-variable] ``` Also fixes two [-Wunused-value] warnings: ``` scene/gui/text_edit.cpp:4405:20: warning: statement has no effect [-Wunused-value] servers/visual/visual_server_scene.cpp:905:48: warning: value computed is not used [-Wunused-value] ``` Some of those are bugs and need further work, they are identified with `// FIXME` comments. |
||
---|---|---|
.. | ||
abstract_polygon_2d_editor.cpp | ||
abstract_polygon_2d_editor.h | ||
animation_blend_space_1d_editor.cpp | ||
animation_blend_space_1d_editor.h | ||
animation_blend_space_2d_editor.cpp | ||
animation_blend_space_2d_editor.h | ||
animation_blend_tree_editor_plugin.cpp | ||
animation_blend_tree_editor_plugin.h | ||
animation_player_editor_plugin.cpp | ||
animation_player_editor_plugin.h | ||
animation_state_machine_editor.cpp | ||
animation_state_machine_editor.h | ||
animation_tree_editor_plugin.cpp | ||
animation_tree_editor_plugin.h | ||
animation_tree_player_editor_plugin.cpp | ||
animation_tree_player_editor_plugin.h | ||
asset_library_editor_plugin.cpp | ||
asset_library_editor_plugin.h | ||
audio_stream_editor_plugin.cpp | ||
audio_stream_editor_plugin.h | ||
baked_lightmap_editor_plugin.cpp | ||
baked_lightmap_editor_plugin.h | ||
camera_editor_plugin.cpp | ||
camera_editor_plugin.h | ||
canvas_item_editor_plugin.cpp | ||
canvas_item_editor_plugin.h | ||
collision_polygon_2d_editor_plugin.cpp | ||
collision_polygon_2d_editor_plugin.h | ||
collision_polygon_editor_plugin.cpp | ||
collision_polygon_editor_plugin.h | ||
collision_shape_2d_editor_plugin.cpp | ||
collision_shape_2d_editor_plugin.h | ||
cpu_particles_editor_plugin.cpp | ||
cpu_particles_editor_plugin.h | ||
curve_editor_plugin.cpp | ||
curve_editor_plugin.h | ||
editor_preview_plugins.cpp | ||
editor_preview_plugins.h | ||
gi_probe_editor_plugin.cpp | ||
gi_probe_editor_plugin.h | ||
gradient_editor_plugin.cpp | ||
gradient_editor_plugin.h | ||
item_list_editor_plugin.cpp | ||
item_list_editor_plugin.h | ||
light_occluder_2d_editor_plugin.cpp | ||
light_occluder_2d_editor_plugin.h | ||
line_2d_editor_plugin.cpp | ||
line_2d_editor_plugin.h | ||
material_editor_plugin.cpp | ||
material_editor_plugin.h | ||
mesh_editor_plugin.cpp | ||
mesh_editor_plugin.h | ||
mesh_instance_editor_plugin.cpp | ||
mesh_instance_editor_plugin.h | ||
mesh_library_editor_plugin.cpp | ||
mesh_library_editor_plugin.h | ||
multimesh_editor_plugin.cpp | ||
multimesh_editor_plugin.h | ||
navigation_polygon_editor_plugin.cpp | ||
navigation_polygon_editor_plugin.h | ||
particles_2d_editor_plugin.cpp | ||
particles_2d_editor_plugin.h | ||
particles_editor_plugin.cpp | ||
particles_editor_plugin.h | ||
path_2d_editor_plugin.cpp | ||
path_2d_editor_plugin.h | ||
path_editor_plugin.cpp | ||
path_editor_plugin.h | ||
physical_bone_plugin.cpp | ||
physical_bone_plugin.h | ||
polygon_2d_editor_plugin.cpp | ||
polygon_2d_editor_plugin.h | ||
resource_preloader_editor_plugin.cpp | ||
resource_preloader_editor_plugin.h | ||
root_motion_editor_plugin.cpp | ||
root_motion_editor_plugin.h | ||
script_editor_plugin.cpp | ||
script_editor_plugin.h | ||
script_text_editor.cpp | ||
script_text_editor.h | ||
SCsub | ||
shader_editor_plugin.cpp | ||
shader_editor_plugin.h | ||
skeleton_2d_editor_plugin.cpp | ||
skeleton_2d_editor_plugin.h | ||
skeleton_editor_plugin.cpp | ||
skeleton_editor_plugin.h | ||
skeleton_ik_editor_plugin.cpp | ||
skeleton_ik_editor_plugin.h | ||
spatial_editor_plugin.cpp | ||
spatial_editor_plugin.h | ||
sprite_editor_plugin.cpp | ||
sprite_editor_plugin.h | ||
sprite_frames_editor_plugin.cpp | ||
sprite_frames_editor_plugin.h | ||
style_box_editor_plugin.cpp | ||
style_box_editor_plugin.h | ||
text_editor.cpp | ||
text_editor.h | ||
texture_editor_plugin.cpp | ||
texture_editor_plugin.h | ||
texture_region_editor_plugin.cpp | ||
texture_region_editor_plugin.h | ||
theme_editor_plugin.cpp | ||
theme_editor_plugin.h | ||
tile_map_editor_plugin.cpp | ||
tile_map_editor_plugin.h | ||
tile_set_editor_plugin.cpp | ||
tile_set_editor_plugin.h | ||
visual_shader_editor_plugin.cpp | ||
visual_shader_editor_plugin.h |