Skip to content

Commit 1cd4a00

Browse files
liebmandevyte
authored andcommitted
Remove compiler warnings (#4043)
1 parent a71118c commit 1cd4a00

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

libraries/ESP8266WebServer/src/ESP8266WebServer.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,8 @@ void ESP8266WebServer::handleClient() {
281281

282282
if (_currentClient.connected()) {
283283
switch (_currentStatus) {
284+
case HC_NONE:
285+
break;
284286
case HC_WAIT_READ:
285287
// Wait for data from client to become available
286288
if (_currentClient.available()) {

libraries/ESP8266httpUpdate/src/ESP8266httpUpdate.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ HTTPUpdateResult ESP8266HTTPUpdate::updateSpiffs(const String& url, const String
7676
HTTPUpdateResult ESP8266HTTPUpdate::update(const String& host, uint16_t port, const String& uri, const String& currentVersion,
7777
bool https, const String& httpsFingerprint, bool reboot)
7878
{
79+
(void)https;
7980
rebootOnUpdate(reboot);
8081
if (httpsFingerprint.length() == 0) {
8182
return update(host, port, uri, currentVersion);

0 commit comments

Comments
 (0)