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. |
||
---|---|---|
.. | ||
default_theme | ||
animation.cpp | ||
animation.h | ||
audio_stream_sample.cpp | ||
audio_stream_sample.h | ||
bit_mask.cpp | ||
bit_mask.h | ||
bounds.cpp | ||
bounds.h | ||
box_shape.cpp | ||
box_shape.h | ||
canvas.cpp | ||
canvas.h | ||
capsule_shape_2d.cpp | ||
capsule_shape_2d.h | ||
capsule_shape.cpp | ||
capsule_shape.h | ||
circle_shape_2d.cpp | ||
circle_shape_2d.h | ||
color_ramp.cpp | ||
color_ramp.h | ||
concave_polygon_shape_2d.cpp | ||
concave_polygon_shape_2d.h | ||
concave_polygon_shape.cpp | ||
concave_polygon_shape.h | ||
convex_polygon_shape_2d.cpp | ||
convex_polygon_shape_2d.h | ||
convex_polygon_shape.cpp | ||
convex_polygon_shape.h | ||
curve.cpp | ||
curve.h | ||
cylinder_shape.cpp | ||
cylinder_shape.h | ||
dynamic_font_stb.cpp | ||
dynamic_font_stb.h | ||
dynamic_font.cpp | ||
dynamic_font.h | ||
environment.cpp | ||
environment.h | ||
font.cpp | ||
font.h | ||
material.cpp | ||
material.h | ||
mesh_data_tool.cpp | ||
mesh_data_tool.h | ||
mesh_library.cpp | ||
mesh_library.h | ||
mesh.cpp | ||
mesh.h | ||
multimesh.cpp | ||
multimesh.h | ||
packed_scene.cpp | ||
packed_scene.h | ||
particles_material.cpp | ||
particles_material.h | ||
physics_material.cpp | ||
physics_material.h | ||
plane_shape.cpp | ||
plane_shape.h | ||
polygon_path_finder.cpp | ||
polygon_path_finder.h | ||
primitive_meshes.cpp | ||
primitive_meshes.h | ||
ray_shape.cpp | ||
ray_shape.h | ||
rectangle_shape_2d.cpp | ||
rectangle_shape_2d.h | ||
room.cpp | ||
room.h | ||
scene_format_text.cpp | ||
scene_format_text.h | ||
SCsub | ||
segment_shape_2d.cpp | ||
segment_shape_2d.h | ||
shader.cpp | ||
shader.h | ||
shape_2d.cpp | ||
shape_2d.h | ||
shape_line_2d.cpp | ||
shape_line_2d.h | ||
shape.cpp | ||
shape.h | ||
sky_box.cpp | ||
sky_box.h | ||
space_2d.cpp | ||
space_2d.h | ||
sphere_shape.cpp | ||
sphere_shape.h | ||
style_box.cpp | ||
style_box.h | ||
surface_tool.cpp | ||
surface_tool.h | ||
text_file.cpp | ||
text_file.h | ||
texture.cpp | ||
texture.h | ||
theme.cpp | ||
theme.h | ||
tile_set.cpp | ||
tile_set.h | ||
video_stream.cpp | ||
video_stream.h | ||
visual_shader_nodes.cpp | ||
visual_shader_nodes.h | ||
visual_shader.cpp | ||
visual_shader.h | ||
world_2d.cpp | ||
world_2d.h | ||
world.cpp | ||
world.h |