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:
committed by
GitHub
parent
8b1af68e3f
commit
6bd4b1c4f7
@ -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();
|
||||
|
Reference in New Issue
Block a user