-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Recent update (2.3.0) gives some warnings #2183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
In addition to the above I am also seeing additional warnings on compilation
|
To remove warnings as per esp8266#2183
We do not want to check state() nor getSize() if _client is NULL. Removed warnings as per esp8266#2183
Checked for usage within repository using `grep -rnw . -e "init_lists"`. No occurances (excepting this one) found, however, have kept as separate commit for exclusion is required. Removed warnings as per esp8266#2183
I also keep verbose warnings on when developing, and I want zero of them. I get: https://gist.github.com/arantius/e786224529a17782d23fa03df250b925 Here's my attempt to address some of them: master...arantius:build-warnings |
This would be nice to clean up, it prevents the use of a project-wide |
Basic Infos
Hardware
Hardware: NodeMCU 0.9
Core Version: 2.3.0
Description
During verbose compilation in the Arduino IDE the new 2.3.0 version gives me some warnings
Settings in IDE
Module: NodeMCU 0.9
Flash Size: 4MB/3MB
CPU Frequency: 80Mhz
Upload Using: SERIAL
Reset Method: nodemcu
Debug Messages
esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src\WiFiClientSecure.cpp: In function 'int ax_port_read(int, uint8_t*, size_t)':
hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src\WiFiClientSecure.cpp:539:53: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266HTTPClient\src\ESP8266HTTPClient.cpp: In member function 'bool HTTPClient::beginInternal(String, const char*)':
\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266HTTPClient\src\ESP8266HTTPClient.cpp:135:10: warning: unused variable 'hasPort' [-Wunused-variable]
\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266\Schedule.cpp:17:13: warning: 'void init_lists()' defined but not used [-Wunused-function]
static void init_lists()
The text was updated successfully, but these errors were encountered: