1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Fix various -Wmaybe-uninitialized (#37352).

This commit is contained in:
Martin Liska
2020-03-27 13:57:20 +01:00
parent 64470ef639
commit c554677c95
5 changed files with 20 additions and 20 deletions

View File

@@ -333,7 +333,7 @@ Error VisualServer::_surface_set_data(Array p_arrays, uint32_t p_format, uint32_
uint8_t *vw = r_vertex_array.ptrw();
uint8_t *iw;
uint8_t *iw = NULL;
if (r_index_array.size()) {
iw = r_index_array.ptrw();
}