File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/tiny_websockets/network/esp32 Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,11 +28,11 @@ namespace websockets { namespace network {
2828 }
2929
3030 void send (WSString data) override {
31- auto sent = client.write (reinterpret_cast <uint8_t *>(const_cast <char *>(data.c_str ())), data.size ());
31+ client.write (reinterpret_cast <uint8_t *>(const_cast <char *>(data.c_str ())), data.size ());
3232 }
3333
3434 void send (uint8_t * data, uint32_t len) override {
35- auto sent = client.write (data, len);
35+ client.write (data, len);
3636 }
3737
3838 WSString readLine () override {
@@ -48,7 +48,7 @@ namespace websockets { namespace network {
4848 }
4949
5050 void read (uint8_t * buffer, uint32_t len) override {
51- auto res = client.read (buffer, len);
51+ client.read (buffer, len);
5252 }
5353
5454 void close () override {
You can’t perform that action at this time.
0 commit comments