f48ee838e7
Fixes the following GCC 8 warnings: ``` core/image.cpp:730:44: warning: 'mip1_weight' may be used uninitialized in this function [-Wmaybe-uninitialized] core/image.cpp:293:20: warning: 'mip2' may be used uninitialized in this function [-Wmaybe-uninitialized] core/image.cpp:293:20: warning: 'mip1' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/audio_stream_preview.cpp:58:19: warning: 'vmax' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/audio_stream_preview.cpp:85:19: warning: 'vmin' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/editor_themes.cpp:306:53: warning: 'preset_contrast' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/plugins/animation_blend_space_2d_editor.cpp:459:27: warning: 'prev_idx' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/plugins/animation_blend_space_2d_editor.cpp:443:27: warning: 'prev_idx' may be used uninitialized in this function [-Wmaybe-uninitialized] main/tests/test_oa_hash_map.cpp:57:29: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized] modules/csg/csg.cpp:764:40: warning: 'max_angle' may be used uninitialized in this function [-Wmaybe-uninitialized] modules/csg/csg_shape.cpp:1945:3: warning: 'face_count' may be used uninitialized in this function [-Wmaybe-uninitialized] scene/3d/voxel_light_baker.cpp:1593:8: warning: 'cone_aperture' may be used uninitialized in this function [-Wmaybe-uninitialized] scene/3d/voxel_light_baker.cpp:1592:6: warning: 'cone_dir_count' may be used uninitialized in this function [-Wmaybe-uninitialized] scene/animation/animation_blend_space_2d.cpp:471:8: warning: 'mind' may be used uninitialized in this function [-Wmaybe-uninitialized] core/os/memory.cpp:94: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] core/os/memory.cpp:95: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] core/os/memory.cpp:98: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] ``` |
||
---|---|---|
.. | ||
animated_sprite.cpp | ||
animated_sprite.h | ||
area_2d.cpp | ||
area_2d.h | ||
audio_stream_player_2d.cpp | ||
audio_stream_player_2d.h | ||
back_buffer_copy.cpp | ||
back_buffer_copy.h | ||
camera_2d.cpp | ||
camera_2d.h | ||
canvas_item.cpp | ||
canvas_item.h | ||
canvas_modulate.cpp | ||
canvas_modulate.h | ||
collision_object_2d.cpp | ||
collision_object_2d.h | ||
collision_polygon_2d.cpp | ||
collision_polygon_2d.h | ||
collision_shape_2d.cpp | ||
collision_shape_2d.h | ||
cpu_particles_2d.cpp | ||
cpu_particles_2d.h | ||
joints_2d.cpp | ||
joints_2d.h | ||
light_2d.cpp | ||
light_2d.h | ||
light_occluder_2d.cpp | ||
light_occluder_2d.h | ||
line_2d.cpp | ||
line_2d.h | ||
line_builder.cpp | ||
line_builder.h | ||
mesh_instance_2d.cpp | ||
mesh_instance_2d.h | ||
navigation2d.cpp | ||
navigation2d.h | ||
navigation_polygon.cpp | ||
navigation_polygon.h | ||
node_2d.cpp | ||
node_2d.h | ||
parallax_background.cpp | ||
parallax_background.h | ||
parallax_layer.cpp | ||
parallax_layer.h | ||
particles_2d.cpp | ||
particles_2d.h | ||
path_2d.cpp | ||
path_2d.h | ||
path_texture.cpp | ||
path_texture.h | ||
physics_body_2d.cpp | ||
physics_body_2d.h | ||
polygon_2d.cpp | ||
polygon_2d.h | ||
position_2d.cpp | ||
position_2d.h | ||
ray_cast_2d.cpp | ||
ray_cast_2d.h | ||
remote_transform_2d.cpp | ||
remote_transform_2d.h | ||
screen_button.cpp | ||
screen_button.h | ||
SCsub | ||
skeleton_2d.cpp | ||
skeleton_2d.h | ||
sprite.cpp | ||
sprite.h | ||
tile_map.cpp | ||
tile_map.h | ||
visibility_notifier_2d.cpp | ||
visibility_notifier_2d.h | ||
y_sort.cpp | ||
y_sort.h |