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] ``` |
||
---|---|---|
.. | ||
area.cpp | ||
area.h | ||
arvr_nodes.cpp | ||
arvr_nodes.h | ||
audio_stream_player_3d.cpp | ||
audio_stream_player_3d.h | ||
baked_lightmap.cpp | ||
baked_lightmap.h | ||
bone_attachment.cpp | ||
bone_attachment.h | ||
camera.cpp | ||
camera.h | ||
collision_object.cpp | ||
collision_object.h | ||
collision_polygon.cpp | ||
collision_polygon.h | ||
collision_shape.cpp | ||
collision_shape.h | ||
cpu_particles.cpp | ||
cpu_particles.h | ||
gi_probe.cpp | ||
gi_probe.h | ||
immediate_geometry.cpp | ||
immediate_geometry.h | ||
interpolated_camera.cpp | ||
interpolated_camera.h | ||
light.cpp | ||
light.h | ||
listener.cpp | ||
listener.h | ||
mesh_instance.cpp | ||
mesh_instance.h | ||
multimesh_instance.cpp | ||
multimesh_instance.h | ||
navigation_mesh.cpp | ||
navigation_mesh.h | ||
navigation.cpp | ||
navigation.h | ||
particles.cpp | ||
particles.h | ||
path.cpp | ||
path.h | ||
physics_body.cpp | ||
physics_body.h | ||
physics_joint.cpp | ||
physics_joint.h | ||
portal.cpp | ||
portal.h | ||
position_3d.cpp | ||
position_3d.h | ||
proximity_group.cpp | ||
proximity_group.h | ||
ray_cast.cpp | ||
ray_cast.h | ||
reflection_probe.cpp | ||
reflection_probe.h | ||
remote_transform.cpp | ||
remote_transform.h | ||
room_instance.cpp | ||
room_instance.h | ||
scenario_fx.cpp | ||
scenario_fx.h | ||
SCsub | ||
skeleton.cpp | ||
skeleton.h | ||
soft_body.cpp | ||
soft_body.h | ||
spatial_velocity_tracker.cpp | ||
spatial_velocity_tracker.h | ||
spatial.cpp | ||
spatial.h | ||
spring_arm.cpp | ||
spring_arm.h | ||
sprite_3d.cpp | ||
sprite_3d.h | ||
vehicle_body.cpp | ||
vehicle_body.h | ||
visibility_notifier.cpp | ||
visibility_notifier.h | ||
visual_instance.cpp | ||
visual_instance.h | ||
voxel_light_baker.cpp | ||
voxel_light_baker.h |