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] ``` |
||
---|---|---|
.. | ||
base_button.cpp | ||
base_button.h | ||
box_container.cpp | ||
box_container.h | ||
button.cpp | ||
button.h | ||
center_container.cpp | ||
center_container.h | ||
check_box.cpp | ||
check_box.h | ||
check_button.cpp | ||
check_button.h | ||
color_picker.cpp | ||
color_picker.h | ||
color_rect.cpp | ||
color_rect.h | ||
container.cpp | ||
container.h | ||
control.cpp | ||
control.h | ||
dialogs.cpp | ||
dialogs.h | ||
file_dialog.cpp | ||
file_dialog.h | ||
gradient_edit.cpp | ||
gradient_edit.h | ||
graph_edit.cpp | ||
graph_edit.h | ||
graph_node.cpp | ||
graph_node.h | ||
grid_container.cpp | ||
grid_container.h | ||
item_list.cpp | ||
item_list.h | ||
label.cpp | ||
label.h | ||
line_edit.cpp | ||
line_edit.h | ||
link_button.cpp | ||
link_button.h | ||
margin_container.cpp | ||
margin_container.h | ||
menu_button.cpp | ||
menu_button.h | ||
nine_patch_rect.cpp | ||
nine_patch_rect.h | ||
option_button.cpp | ||
option_button.h | ||
panel_container.cpp | ||
panel_container.h | ||
panel.cpp | ||
panel.h | ||
popup_menu.cpp | ||
popup_menu.h | ||
popup.cpp | ||
popup.h | ||
progress_bar.cpp | ||
progress_bar.h | ||
range.cpp | ||
range.h | ||
reference_rect.cpp | ||
reference_rect.h | ||
rich_text_label.cpp | ||
rich_text_label.h | ||
scroll_bar.cpp | ||
scroll_bar.h | ||
scroll_container.cpp | ||
scroll_container.h | ||
SCsub | ||
separator.cpp | ||
separator.h | ||
shortcut.cpp | ||
shortcut.h | ||
slider.cpp | ||
slider.h | ||
spin_box.cpp | ||
spin_box.h | ||
split_container.cpp | ||
split_container.h | ||
tab_container.cpp | ||
tab_container.h | ||
tabs.cpp | ||
tabs.h | ||
text_edit.cpp | ||
text_edit.h | ||
texture_button.cpp | ||
texture_button.h | ||
texture_progress.cpp | ||
texture_progress.h | ||
texture_rect.cpp | ||
texture_rect.h | ||
tool_button.cpp | ||
tool_button.h | ||
tree.cpp | ||
tree.h | ||
video_player.cpp | ||
video_player.h | ||
viewport_container.cpp | ||
viewport_container.h |