MQTT-TLS icon indicating copy to clipboard operation
MQTT-TLS copied to clipboard

variable may be used uninitialized warning

Open gusgonnet opened this issue 1 year ago • 2 comments

Hi,

I see the following warning when compiling MQTT-TLS:

/Users/me/bestPrjEver/lib/MQTT-TLS/src/MQTT-TLS.cpp: 
In member function 'MQTT::handShakeTls()':

/Users/me/bestPrjEver/lib/MQTT-TLS/src/MQTT-TLS.cpp:727:45: 
warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
  727 |   } while (ret == MBEDTLS_ERR_SSL_WANT_READ || ret == MBEDTLS_ERR_SSL_WANT_WRITE);

more info here.

gusgonnet avatar Mar 25 '23 15:03 gusgonnet

Hi @gusgonnet , Thank you for your PR.

hirotakaster avatar Mar 25 '23 16:03 hirotakaster

update lib version&publish now.

hirotakaster avatar Mar 25 '23 17:03 hirotakaster