[Chore](build) enable fallthrough check annd fix some fallthrough bug (#16748)

* enable fallthrough check annd fix some fallthrough bug

* fix

* fix
This commit is contained in:
Pxl
2023-02-15 15:58:43 +08:00
committed by GitHub
parent 585b74b175
commit f50edff59d
18 changed files with 77 additions and 194 deletions

View File

@ -243,6 +243,7 @@ int64_t base64_decode(const char* data, size_t length, char* decoded_data) {
return 0;
case 2:
k++;
[[fallthrough]];
case 3:
decoded_data[k] = 0;
default: