godot/modules
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
..
arkit Refactored input, goes all via windows now. 2020-03-26 15:49:39 +01:00
assimp Multiple changes to DisplayServerX11 2020-03-26 15:49:54 +01:00
basis_universal Fix some -Wmaybe-uninitialized warnings 2020-03-27 14:33:06 +01:00
bmp Adding missing include guards to header files identified by LGTM. 2020-03-23 04:52:36 -04:00
bullet Style: Set clang-format Standard to Cpp11 2020-03-17 07:36:24 +01:00
camera Make file formatting comply with POSIX and Unix standards 2020-03-21 17:41:03 -04:00
csg Fix various -Wmaybe-uninitialized (#37352). 2020-03-27 13:57:20 +01:00
cvtt Adding missing include guards to header files identified by LGTM. 2020-03-23 04:52:36 -04:00
dds Adding missing include guards to header files identified by LGTM. 2020-03-23 04:52:36 -04:00
enet Adding missing include guards to header files identified by LGTM. 2020-03-23 04:52:36 -04:00
etc Adding missing include guards to header files identified by LGTM. 2020-03-23 04:52:36 -04:00
freetype SCons: Drop support for Python 2 2020-03-25 15:25:37 +01:00
gdnative Popups are now windows also (broken!) 2020-03-26 15:49:42 +01:00
gdnavigation Popups are now windows also (broken!) 2020-03-26 15:49:42 +01:00
gdscript Popups are now windows also (broken!) 2020-03-26 15:49:42 +01:00
glslang Adding missing include guards to header files identified by LGTM. 2020-03-23 04:52:36 -04:00
gridmap Popups are now windows also (broken!) 2020-03-26 15:49:42 +01:00
hdr Adding missing include guards to header files identified by LGTM. 2020-03-23 04:52:36 -04:00
jpg Adding missing include guards to header files identified by LGTM. 2020-03-23 04:52:36 -04:00
jsonrpc Adding missing include guards to header files identified by LGTM. 2020-03-23 04:52:36 -04:00
mbedtls Adding missing include guards to header files identified by LGTM. 2020-03-23 04:52:36 -04:00
mobile_vr Refactored input, goes all via windows now. 2020-03-26 15:49:39 +01:00
mono Multiple changes to DisplayServerX11 2020-03-26 15:49:54 +01:00
ogg Adding missing include guards to header files identified by LGTM. 2020-03-23 04:52:36 -04:00
opensimplex Adding missing include guards to header files identified by LGTM. 2020-03-23 04:52:36 -04:00
opus Adding missing include guards to header files identified by LGTM. 2020-03-23 04:52:36 -04:00
pvr Adding missing include guards to header files identified by LGTM. 2020-03-23 04:52:36 -04:00
regex Adding missing include guards to header files identified by LGTM. 2020-03-23 04:52:36 -04:00
squish Adding missing include guards to header files identified by LGTM. 2020-03-23 04:52:36 -04:00
stb_vorbis Adding missing include guards to header files identified by LGTM. 2020-03-23 04:52:36 -04:00
svg Adding missing include guards to header files identified by LGTM. 2020-03-23 04:52:36 -04:00
tga Adding missing include guards to header files identified by LGTM. 2020-03-23 04:52:36 -04:00
theora Adding missing include guards to header files identified by LGTM. 2020-03-23 04:52:36 -04:00
tinyexr Adding missing include guards to header files identified by LGTM. 2020-03-23 04:52:36 -04:00
upnp Adding missing include guards to header files identified by LGTM. 2020-03-23 04:52:36 -04:00
vhacd Adding missing include guards to header files identified by LGTM. 2020-03-23 04:52:36 -04:00
visual_script Popups are now windows also (broken!) 2020-03-26 15:49:42 +01:00
vorbis Adding missing include guards to header files identified by LGTM. 2020-03-23 04:52:36 -04:00
webm Multiple changes to DisplayServerX11 2020-03-26 15:49:54 +01:00
webp Adding missing include guards to header files identified by LGTM. 2020-03-23 04:52:36 -04:00
webrtc Adding missing include guards to header files identified by LGTM. 2020-03-23 04:52:36 -04:00
websocket Adding missing include guards to header files identified by LGTM. 2020-03-23 04:52:36 -04:00
xatlas_unwrap Adding missing include guards to header files identified by LGTM. 2020-03-23 04:52:36 -04:00
modules_builders.py SCons: Generate header with info on which modules are enabled 2020-02-07 11:31:37 +01:00
register_module_types.h Moved the shader source compilation code outside RenderingDevice and Vulkan 2020-02-11 11:53:29 +01:00
SCsub SCons: Split libmodules.a in folder-based libs 2020-02-07 14:19:51 +01:00