mirror of
https://github.com/godotengine/godot.git
synced 2025-01-10 12:11:05 +00:00
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. |
||
---|---|---|
.. | ||
collada | ||
doc | ||
fileserver | ||
icons | ||
import | ||
plugins | ||
translations | ||
animation_bezier_editor.cpp | ||
animation_bezier_editor.h | ||
animation_track_editor_plugins.cpp | ||
animation_track_editor_plugins.h | ||
animation_track_editor.cpp | ||
animation_track_editor.h | ||
array_property_edit.cpp | ||
array_property_edit.h | ||
audio_stream_preview.cpp | ||
audio_stream_preview.h | ||
code_editor.cpp | ||
code_editor.h | ||
connections_dialog.cpp | ||
connections_dialog.h | ||
create_dialog.cpp | ||
create_dialog.h | ||
dependency_editor.cpp | ||
dependency_editor.h | ||
dictionary_property_edit.cpp | ||
dictionary_property_edit.h | ||
editor_about.cpp | ||
editor_about.h | ||
editor_asset_installer.cpp | ||
editor_asset_installer.h | ||
editor_audio_buses.cpp | ||
editor_audio_buses.h | ||
editor_autoload_settings.cpp | ||
editor_autoload_settings.h | ||
editor_builders.py | ||
editor_data.cpp | ||
editor_data.h | ||
editor_dir_dialog.cpp | ||
editor_dir_dialog.h | ||
editor_export.cpp | ||
editor_export.h | ||
editor_file_dialog.cpp | ||
editor_file_dialog.h | ||
editor_file_system.cpp | ||
editor_file_system.h | ||
editor_fonts.cpp | ||
editor_fonts.h | ||
editor_help.cpp | ||
editor_help.h | ||
editor_inspector.cpp | ||
editor_inspector.h | ||
editor_log.cpp | ||
editor_log.h | ||
editor_name_dialog.cpp | ||
editor_name_dialog.h | ||
editor_node.cpp | ||
editor_node.h | ||
editor_path.cpp | ||
editor_path.h | ||
editor_plugin_settings.cpp | ||
editor_plugin_settings.h | ||
editor_plugin.cpp | ||
editor_plugin.h | ||
editor_profiler.cpp | ||
editor_profiler.h | ||
editor_properties_array_dict.cpp | ||
editor_properties_array_dict.h | ||
editor_properties.cpp | ||
editor_properties.h | ||
editor_resource_preview.cpp | ||
editor_resource_preview.h | ||
editor_run_native.cpp | ||
editor_run_native.h | ||
editor_run_script.cpp | ||
editor_run_script.h | ||
editor_run.cpp | ||
editor_run.h | ||
editor_scale.cpp | ||
editor_scale.h | ||
editor_sectioned_inspector.cpp | ||
editor_sectioned_inspector.h | ||
editor_settings.cpp | ||
editor_settings.h | ||
editor_spin_slider.cpp | ||
editor_spin_slider.h | ||
editor_sub_scene.cpp | ||
editor_sub_scene.h | ||
editor_themes.cpp | ||
editor_themes.h | ||
export_template_manager.cpp | ||
export_template_manager.h | ||
file_type_cache.cpp | ||
file_type_cache.h | ||
filesystem_dock.cpp | ||
filesystem_dock.h | ||
find_in_files.cpp | ||
find_in_files.h | ||
groups_editor.cpp | ||
groups_editor.h | ||
import_dock.cpp | ||
import_dock.h | ||
inspector_dock.cpp | ||
inspector_dock.h | ||
multi_node_edit.cpp | ||
multi_node_edit.h | ||
node_dock.cpp | ||
node_dock.h | ||
output_strings.cpp | ||
output_strings.h | ||
pane_drag.cpp | ||
pane_drag.h | ||
plugin_config_dialog.cpp | ||
plugin_config_dialog.h | ||
progress_dialog.cpp | ||
progress_dialog.h | ||
project_export.cpp | ||
project_export.h | ||
project_manager.cpp | ||
project_manager.h | ||
project_settings_editor.cpp | ||
project_settings_editor.h | ||
property_editor.cpp | ||
property_editor.h | ||
property_selector.cpp | ||
property_selector.h | ||
pvrtc_compress.cpp | ||
pvrtc_compress.h | ||
quick_open.cpp | ||
quick_open.h | ||
register_exporters.h | ||
rename_dialog.cpp | ||
rename_dialog.h | ||
reparent_dialog.cpp | ||
reparent_dialog.h | ||
run_settings_dialog.cpp | ||
run_settings_dialog.h | ||
scene_tree_dock.cpp | ||
scene_tree_dock.h | ||
scene_tree_editor.cpp | ||
scene_tree_editor.h | ||
script_create_dialog.cpp | ||
script_create_dialog.h | ||
script_editor_debugger.cpp | ||
script_editor_debugger.h | ||
SCsub | ||
settings_config_dialog.cpp | ||
settings_config_dialog.h | ||
spatial_editor_gizmos.cpp | ||
spatial_editor_gizmos.h |