godot/core
Rémi Verschelde f725bd99f4 Fix some -Wmaybe-uninitialized warnings
Namely:
```
modules/basis_universal/register_types.cpp: In function 'Ref<Image> basis_universal_unpacker(const Vector<unsigned char>&)':
modules/basis_universal/register_types.cpp:266:15: warning: 'imgfmt' may be used uninitialized in this function [-Wmaybe-uninitialized]
  266 |  image->create(info.m_width, info.m_height, info.m_total_levels > 1, imgfmt, gpudata);
      |  ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
modules/basis_universal/register_types.cpp:255:39: warning: 'format' may be used uninitialized in this function [-Wmaybe-uninitialized]
  255 |    bool ret = tr.transcode_image_level(ptr, size, 0, i, dst + ofs, level.m_total_blocks - i, format);
      |               ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```

```
servers/visual_server.cpp: In member function 'Error VisualServer::_surface_set_data(Array, uint32_t, uint32_t*, uint32_t, Vector<unsigned char>&, int, Vector<unsigned char>&, int, AABB&, Vector<AABB>&)':
servers/visual_server.cpp:636:15: warning: 'iw' may be used uninitialized in this function [-Wmaybe-uninitialized]
  636 |       copymem(&iw[i * 2], &v, 2);
      |               ^
```

```
core/image.cpp: In member function 'Error Image::generate_mipmap_roughness(Image::RoughnessChannel, const Ref<Image>&)':
core/image.cpp:1683:11: warning: 'roughness' may be used uninitialized in this function [-Wmaybe-uninitialized]
 1683 |     float roughness;
      |           ^~~~~~~~~
```
2020-03-27 14:33:06 +01:00
..
bind Effective DisplayServer separation, rename X11 -> LinuxBSD 2020-03-26 15:49:34 +01:00
crypto
debugger Refactored input, goes all via windows now. 2020-03-26 15:49:39 +01:00
input Refactored input, goes all via windows now. 2020-03-26 15:49:39 +01:00
io
math
os Add macOS DisplayServer implementation. 2020-03-26 16:24:05 +01:00
array.cpp
array.h
callable.cpp
callable.h
callable_method_pointer.cpp
callable_method_pointer.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
engine.cpp
engine.h
error_list.h
error_macros.cpp
error_macros.h
func_ref.cpp
func_ref.h
global_constants.cpp Refactored Input, create DisplayServer and DisplayServerX11 2020-03-26 15:49:32 +01:00
global_constants.h
hash_map.h
hashfuncs.h
image.cpp Fix some -Wmaybe-uninitialized warnings 2020-03-27 14:33:06 +01:00
image.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 Refactored Input, create DisplayServer and DisplayServerX11 2020-03-26 15:49:32 +01:00
node_path.cpp
node_path.h
oa_hash_map.h
object.cpp
object.h
object_id.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
reference.cpp
reference.h
register_core_types.cpp Refactored input, goes all via windows now. 2020-03-26 15:49:39 +01:00
register_core_types.h
resource.cpp
resource.h
rid.h
rid_owner.cpp
rid_owner.h
ring_buffer.h
safe_refcount.cpp
safe_refcount.h
script_language.cpp
script_language.h
SCsub Refactored Input, create DisplayServer and DisplayServerX11 2020-03-26 15:49:32 +01:00
self_list.h
set.h
simple_type.h
sort_array.h
spin_lock.h
string_buffer.h
string_builder.cpp
string_builder.h
string_name.cpp
string_name.h
thread_work_pool.cpp
thread_work_pool.h
translation.cpp
translation.h
type_info.h Refactored Input, create DisplayServer and DisplayServerX11 2020-03-26 15:49:32 +01:00
typedefs.h
ucaps.h
undo_redo.cpp
undo_redo.h
ustring.cpp
ustring.h
variant.cpp
variant.h
variant_call.cpp
variant_op.cpp
variant_parser.cpp Refactored Input, create DisplayServer and DisplayServerX11 2020-03-26 15:49:32 +01:00
variant_parser.h
vector.h
version.h
vmap.h
vset.h