1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Fix warnings seen with warnings=all and recent GCC 8.2.

This commit is contained in:
marxin
2019-02-18 20:28:40 +01:00
parent 07498d313c
commit 155cbe0b37
3 changed files with 25 additions and 21 deletions

View File

@@ -102,7 +102,7 @@ Error LWSPeer::write_wsi() {
return OK;
int read = 0;
uint8_t is_string;
uint8_t is_string = 0;
PoolVector<uint8_t>::Write rw = _packet_buffer.write();
_out_buffer.read_packet(&(rw[LWS_PRE]), _packet_buffer.size() - LWS_PRE, &is_string, read);