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] ``` |
||
---|---|---|
.. | ||
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 |