mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-19 23:22:16 +03:00
Remove compiler warnings (#4043)
This commit is contained in:
parent
a71118caeb
commit
1cd4a00cff
@ -281,6 +281,8 @@ void ESP8266WebServer::handleClient() {
|
|||||||
|
|
||||||
if (_currentClient.connected()) {
|
if (_currentClient.connected()) {
|
||||||
switch (_currentStatus) {
|
switch (_currentStatus) {
|
||||||
|
case HC_NONE:
|
||||||
|
break;
|
||||||
case HC_WAIT_READ:
|
case HC_WAIT_READ:
|
||||||
// Wait for data from client to become available
|
// Wait for data from client to become available
|
||||||
if (_currentClient.available()) {
|
if (_currentClient.available()) {
|
||||||
|
@ -76,6 +76,7 @@ HTTPUpdateResult ESP8266HTTPUpdate::updateSpiffs(const String& url, const String
|
|||||||
HTTPUpdateResult ESP8266HTTPUpdate::update(const String& host, uint16_t port, const String& uri, const String& currentVersion,
|
HTTPUpdateResult ESP8266HTTPUpdate::update(const String& host, uint16_t port, const String& uri, const String& currentVersion,
|
||||||
bool https, const String& httpsFingerprint, bool reboot)
|
bool https, const String& httpsFingerprint, bool reboot)
|
||||||
{
|
{
|
||||||
|
(void)https;
|
||||||
rebootOnUpdate(reboot);
|
rebootOnUpdate(reboot);
|
||||||
if (httpsFingerprint.length() == 0) {
|
if (httpsFingerprint.length() == 0) {
|
||||||
return update(host, port, uri, currentVersion);
|
return update(host, port, uri, currentVersion);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user