diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-02-08 11:53:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-08 11:53:02 +0100 |
commit | 332a33503bf6ddd25f4012a0b8caaaeb67e9b18e (patch) | |
tree | 0eb10c2fcb4e7f94a2ca16365e9d36076b94bc03 /modules/websocket/wsl_client.cpp | |
parent | 5260b6e046c244ed6376c47c7af5a0f27d934c12 (diff) | |
parent | f7209b459b4faaae9d93bfb6ac5346eb41787f92 (diff) |
Merge pull request #43952 from qarmin/cppcheck_modules
Initialize class/struct variables with default values in modules/
Diffstat (limited to 'modules/websocket/wsl_client.cpp')
-rw-r--r-- | modules/websocket/wsl_client.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/websocket/wsl_client.cpp b/modules/websocket/wsl_client.cpp index 3e2f48e9b3..a075ae3982 100644 --- a/modules/websocket/wsl_client.cpp +++ b/modules/websocket/wsl_client.cpp @@ -337,11 +337,6 @@ Error WSLClient::set_buffers(int p_in_buffer, int p_in_packets, int p_out_buffer } WSLClient::WSLClient() { - _in_buf_size = DEF_BUF_SHIFT; - _in_pkt_size = DEF_PKT_SHIFT; - _out_buf_size = DEF_BUF_SHIFT; - _out_pkt_size = DEF_PKT_SHIFT; - _peer.instance(); _tcp.instance(); disconnect_from_host(); |