MySQL_Connector_Arduino
MySQL_Connector_Arduino copied to clipboard
[MySQL_Packet.cpp]: Compiler Warning unused variable "size"
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;
.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