From 155cbe0b37ceaed33c1917f61201c1b151747469 Mon Sep 17 00:00:00 2001 From: marxin Date: Mon, 18 Feb 2019 20:28:40 +0100 Subject: Fix warnings seen with warnings=all and recent GCC 8.2. --- modules/websocket/lws_peer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/websocket') diff --git a/modules/websocket/lws_peer.cpp b/modules/websocket/lws_peer.cpp index 8afcdfe62e..a7c85450fa 100644 --- a/modules/websocket/lws_peer.cpp +++ b/modules/websocket/lws_peer.cpp @@ -102,7 +102,7 @@ Error LWSPeer::write_wsi() { return OK; int read = 0; - uint8_t is_string; + uint8_t is_string = 0; PoolVector::Write rw = _packet_buffer.write(); _out_buffer.read_packet(&(rw[LWS_PRE]), _packet_buffer.size() - LWS_PRE, &is_string, read); -- cgit v1.2.3