mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-12 01:53:07 +03:00
fix some warnings
warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] warning: defined but not used [-Wunused-variable] warning: declared 'static' but never defined [-Wunused-function] warning: suggest parentheses around '&&' within '||' [-Wparentheses}
This commit is contained in:
committed by
Ivan Grokhotkov
parent
2b3302c714
commit
2472970933
@ -259,7 +259,7 @@ void ESP8266WebServer::_parseArguments(String data)
|
||||
Serial.print(" &@ ");
|
||||
Serial.println(next_arg_index);
|
||||
#endif
|
||||
if (equal_sign_index == -1 || equal_sign_index > next_arg_index && next_arg_index != -1) {
|
||||
if ((equal_sign_index == -1) || ((equal_sign_index > next_arg_index) && (next_arg_index != -1))) {
|
||||
#ifdef DEBUG
|
||||
Serial.print("arg missing value: ");
|
||||
Serial.println(iarg);
|
||||
|
Reference in New Issue
Block a user