Open hasenradball opened 2 years ago
Got an compiler warning about a unused variable.
see line 523: https://github.com/ChuckBell/MySQL_Connector_Arduino/blob/d007607b306dde37b591093f9562ed1370cf99d4/src/MySQL_Packet.cpp#L523
could be fixed by: int size __attribute__((unused)) = 0;
int size __attribute__((unused)) = 0;
.pio\libdeps\esp12e\MySQL Connector Arduino\src\MySQL_Packet.cpp: In member function 'int MySQL_Packet::read_lcb_int(int)': .pio\libdeps\esp12e\MySQL Connector Arduino\src\MySQL_Packet.cpp:523:7: warning: unused variable 'size' [-Wunused-variable] 523 | int size = 0; | ^~~~
Thanks! That seams to have cleared that compiler warning for ESP8266
Got an compiler warning about a unused variable.
see line 523: https://github.com/ChuckBell/MySQL_Connector_Arduino/blob/d007607b306dde37b591093f9562ed1370cf99d4/src/MySQL_Packet.cpp#L523
could be fixed by:
int size __attribute__((unused)) = 0;