mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
f725bd99f4
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; | ^~~~~~~~~ ``` |
||
---|---|---|
.. | ||
rasterizer_rd | ||
rasterizer.cpp | ||
rasterizer.h | ||
rendering_device.cpp | ||
rendering_device.h | ||
SCsub | ||
shader_language.cpp | ||
shader_language.h | ||
shader_types.cpp | ||
shader_types.h | ||
visual_server_canvas.cpp | ||
visual_server_canvas.h | ||
visual_server_globals.cpp | ||
visual_server_globals.h | ||
visual_server_raster.cpp | ||
visual_server_raster.h | ||
visual_server_scene.cpp | ||
visual_server_scene.h | ||
visual_server_viewport.cpp | ||
visual_server_viewport.h | ||
visual_server_wrap_mt.cpp | ||
visual_server_wrap_mt.h |