Skip to content

Commit ce7e723

Browse files
author
Luc
committed
Fix Warning for unused variable
1 parent 628a01d commit ce7e723

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ESP32SSDP.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ void SSDPClass::_send(ssdp_method_t method){
187187
_deviceType,
188188
ip[0], ip[1], ip[2], ip[3], _port, _schemaURL
189189
);
190-
190+
if(len < 0) return;
191191
IPAddress remoteAddr;
192192
uint16_t remotePort;
193193
if(method == NONE) {

0 commit comments

Comments
 (0)