godot/servers
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
..
arvr Refactored input, goes all via windows now. 2020-03-26 15:49:39 +01:00
audio Remove unused classes and stray headers 2020-03-24 09:50:51 +01:00
camera
physics Refactor ScriptDebugger. 2020-03-08 12:36:39 +01:00
physics_2d Refactor ScriptDebugger. 2020-03-08 12:36:39 +01:00
visual Fix some -Wmaybe-uninitialized warnings 2020-03-27 14:33:06 +01:00
arvr_server.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
arvr_server.h Style: Set clang-format Standard to Cpp11 2020-03-17 07:36:24 +01:00
audio_server.cpp Refactor ScriptDebugger. 2020-03-08 12:36:39 +01:00
audio_server.h Style: Set clang-format Standard to Cpp11 2020-03-17 07:36:24 +01:00
camera_server.cpp
camera_server.h Style: Set clang-format Standard to Cpp11 2020-03-17 07:36:24 +01:00
display_server.cpp Add macOS DisplayServer implementation. 2020-03-26 16:24:05 +01:00
display_server.h Add macOS DisplayServer implementation. 2020-03-26 16:24:05 +01:00
navigation_2d_server.cpp Added utility functions to the new NavigationServer: 2020-02-18 17:12:45 +01:00
navigation_2d_server.h Fix various typos 2020-03-11 13:59:18 -04:00
navigation_server.cpp Flushes commands just before the navigation server is destroyed 2020-02-26 09:42:51 +01:00
navigation_server.h Fix various typos 2020-03-11 13:59:18 -04:00
physics_2d_server.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
physics_2d_server.h ObjectID converted to a structure, fixes many bugs where used incorrectly as 32 bits. 2020-02-12 14:24:54 -03:00
physics_server.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
physics_server.h ObjectID converted to a structure, fixes many bugs where used incorrectly as 32 bits. 2020-02-12 14:24:54 -03:00
register_server_types.cpp Refactored Input, create DisplayServer and DisplayServerX11 2020-03-26 15:49:32 +01:00
register_server_types.h Yay very basic 3D (only white) finally shows. 2020-02-11 11:59:27 +01:00
SCsub
server_wrap_mt_common.h Reimplement Mutex with C++'s <mutex> 2020-02-26 20:40:10 +01:00
visual_server.cpp Fix some -Wmaybe-uninitialized warnings 2020-03-27 14:33:06 +01:00
visual_server.h Open sub-windows as embedded if the OS does not support them 2020-03-26 15:49:43 +01:00