3e9740ac93
Fixes the following GCC 7 warnings: ``` core/cowdata.h:269:47: warning: 'alloc_size' may be used uninitialized in this function [-Wmaybe-uninitialized] core/error_macros.h:163:26: warning: 'nearest_point' may be used uninitialized in this function [-Wmaybe-uninitialized] core/image.cpp:1579:5: warning: 'colormap_size' may be used uninitialized in this function [-Wmaybe-uninitialized] core/image.cpp:1582:12: warning: 'size_height' may be used uninitialized in this function [-Wmaybe-uninitialized] core/image.cpp:1590:23: warning: 'size_width' may be used uninitialized in this function [-Wmaybe-uninitialized] core/image.cpp:1599:29: warning: 'pixel_size' may be used uninitialized in this function [-Wmaybe-uninitialized] core/math/face3.cpp:207:15: warning: 'tri_max' may be used uninitialized in this function [-Wmaybe-uninitialized] core/math/face3.cpp:209:15: warning: 'tri_min' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/gles3/rasterizer_scene_gles3.cpp:665:22: warning: 'best_used_frame' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/gles3/rasterizer_storage_gles3.cpp:865:27: warning: 'blit_target' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/gles3/rasterizer_storage_gles3.cpp:980:29: warning: 'blit_target' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/gles3/shader_gles3.h:122:9: warning: '<anonymous>.ShaderGLES3::Version::frag_id' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/gles3/shader_gles3.h:122:9: warning: '<anonymous>.ShaderGLES3::Version::id' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/gles3/shader_gles3.h:122:9: warning: '<anonymous>.ShaderGLES3::Version::vert_id' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/plugins/script_editor_plugin.cpp:1980:31: warning: 'se' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/scene_tree_dock.cpp:840:30: warning: 'new_node' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4259:9: warning: 'a1' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4259:9: warning: 'lll' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4259:9: warning: 'lul' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4260:9: warning: 'a2' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4261:9: warning: 'a3' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4265:3: warning: 'enable_lin' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4294:3: warning: 'enable_ang' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4311:34: warning: 'll' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4311:34: warning: 'ul' may be used uninitialized in this function [-Wmaybe-uninitialized] scene/3d/voxel_light_baker.cpp:1655:47: warning: 'cone_dirs' may be used uninitialized in this function [-Wmaybe-uninitialized] scene/3d/voxel_light_baker.cpp:1656:73: warning: 'cone_weights' may be used uninitialized in this function [-Wmaybe-uninitialized] scene/gui/texture_progress.cpp:181:6: warning: 'cp' may be used uninitialized in this function [-Wmaybe-uninitialized] scene/gui/texture_progress.cpp:181:6: warning: 'cq' may be used uninitialized in this function [-Wmaybe-uninitialized] servers/physics/shape_sw.cpp:1056:19: warning: 'support_max' may be used uninitialized in this function [-Wmaybe-uninitialized] ``` |
||
---|---|---|
.. | ||
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 |