remove breaks after return in switch-case

This commit is contained in:
2026-02-09 09:55:37 +00:00
committed by oreodave
parent 06a4eafbb9
commit fe727d75e4
2 changed files with 0 additions and 8 deletions

View File

@@ -17,13 +17,10 @@ const char *read_err_to_cstr(read_err_t err)
{
case READ_ERR_OK:
return "OK";
break;
case READ_ERR_EOF:
return "EOF";
break;
case READ_ERR_UNKNOWN_CHAR:
return "UNKNOWN_CHAR";
break;
default:
FAIL("Unreachable");
}