Remove unnecessary breaks in default clauses of switch statements (#153843)

See https://dart.googlesource.com/sdk.git/+/045d26bc74209f5acc6466669f89686344e83de2
This commit is contained in:
Jason Simmons
2024-08-21 07:26:39 -07:00
committed by GitHub
parent 72d1d15b4f
commit 565de5ab47
2 changed files with 0 additions and 3 deletions

View File

@@ -565,7 +565,6 @@ void _validateFlutter(YamlMap? yaml, List<String> errors) {
}
default:
errors.add('Unexpected child "$yamlKey" found under "flutter".');
break;
}
}
}
@@ -704,7 +703,6 @@ void _validateFonts(YamlList fonts, List<String> errors) {
}
default:
errors.add('Unexpected key $fontKey ((${kvp.value.runtimeType})) under font.');
break;
}
}
}

View File

@@ -932,7 +932,6 @@ class BrowserManager {
default:
// Unreachable.
assert(false);
break;
}
}
}