Fix warnings seen with warnings=all and recent GCC 8.2.
This commit is contained in:
parent
07498d313c
commit
155cbe0b37
3 changed files with 25 additions and 21 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue