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] ``` |
||
---|---|---|
.. | ||
bind | ||
io | ||
math | ||
os | ||
allocators.h | ||
array.cpp | ||
array.h | ||
class_db.cpp | ||
class_db.h | ||
color.cpp | ||
color.h | ||
color_names.inc | ||
command_queue_mt.cpp | ||
command_queue_mt.h | ||
compressed_translation.cpp | ||
compressed_translation.h | ||
core_builders.py | ||
core_string_names.cpp | ||
core_string_names.h | ||
cowdata.h | ||
dictionary.cpp | ||
dictionary.h | ||
dvector.cpp | ||
dvector.h | ||
engine.cpp | ||
engine.h | ||
error_list.h | ||
error_macros.cpp | ||
error_macros.h | ||
func_ref.cpp | ||
func_ref.h | ||
global_constants.cpp | ||
global_constants.h | ||
hash_map.h | ||
hashfuncs.h | ||
image.cpp | ||
image.h | ||
input_map.cpp | ||
input_map.h | ||
int_types.h | ||
list.h | ||
make_binders.py | ||
map.h | ||
message_queue.cpp | ||
message_queue.h | ||
method_bind.cpp | ||
method_bind.h | ||
method_ptrcall.h | ||
node_path.cpp | ||
node_path.h | ||
oa_hash_map.h | ||
object.cpp | ||
object.h | ||
ordered_hash_map.h | ||
packed_data_container.cpp | ||
packed_data_container.h | ||
pair.h | ||
path_remap.cpp | ||
path_remap.h | ||
pool_allocator.cpp | ||
pool_allocator.h | ||
print_string.cpp | ||
print_string.h | ||
project_settings.cpp | ||
project_settings.h | ||
ref_ptr.cpp | ||
ref_ptr.h | ||
reference.cpp | ||
reference.h | ||
register_core_types.cpp | ||
register_core_types.h | ||
resource.cpp | ||
resource.h | ||
rid.cpp | ||
rid.h | ||
ring_buffer.h | ||
safe_refcount.cpp | ||
safe_refcount.h | ||
script_debugger_local.cpp | ||
script_debugger_local.h | ||
script_debugger_remote.cpp | ||
script_debugger_remote.h | ||
script_language.cpp | ||
script_language.h | ||
SCsub | ||
self_list.h | ||
set.h | ||
simple_type.h | ||
sort.h | ||
string_buffer.h | ||
string_builder.cpp | ||
string_builder.h | ||
string_db.cpp | ||
string_db.h | ||
translation.cpp | ||
translation.h | ||
type_info.h | ||
typedefs.h | ||
ucaps.h | ||
undo_redo.cpp | ||
undo_redo.h | ||
ustring.cpp | ||
ustring.h | ||
variant.cpp | ||
variant.h | ||
variant_call.cpp | ||
variant_construct_string.cpp | ||
variant_op.cpp | ||
variant_parser.cpp | ||
variant_parser.h | ||
vector.h | ||
version.h | ||
vmap.h | ||
vset.h |