1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-04 01:23:50 +03:00

Clean up trivial gcc -wextra warnings (#6254)

After verifying that they really were spurious, clean up the warnings
that gcc -wextra reports, except for LeaMDNS.

Upgrade GCC to gcc-7 for host builds
This commit is contained in:
Earle F. Philhower, III
2019-07-05 22:31:50 -07:00
committed by GitHub
parent 8b1af68e3f
commit 6bd4b1c4f7
8 changed files with 23 additions and 4 deletions

View File

@ -107,10 +107,9 @@ AVRISPState_t ESP8266AVRISP::serve() {
case AVRISP_STATE_IDLE:
// should not be called when idle, error?
break;
case AVRISP_STATE_PENDING: {
case AVRISP_STATE_PENDING:
_state = AVRISP_STATE_ACTIVE;
// fallthrough
}
// falls through
case AVRISP_STATE_ACTIVE: {
while (_client.available()) {
avrisp();