diff options
| author | gingerBill <bill@gingerbill.org> | 2021-06-09 23:05:37 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-06-09 23:05:37 +0100 |
| commit | b0e21bd616d6111e301378475f493ddf9c75391f (patch) | |
| tree | a133a755729ff95c31115a862bbc6b6452db9942 /src/check_stmt.cpp | |
| parent | 7b88bed098397b73bce8bf1202b61012f3efda21 (diff) | |
Allow trivial optimizations for switch statements of `typeid`
Diffstat (limited to 'src/check_stmt.cpp')
| -rw-r--r-- | src/check_stmt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/check_stmt.cpp b/src/check_stmt.cpp index a4b7f9b24..c6a9a5d93 100644 --- a/src/check_stmt.cpp +++ b/src/check_stmt.cpp @@ -1092,7 +1092,7 @@ void check_switch_stmt(CheckerContext *ctx, Ast *node, u32 mod_flags) { } error_line("\n"); - error_line("\tSuggestion: Was '#partial switch' wanted? This replaces the previous '#complete switch'.\n"); + error_line("\tSuggestion: Was '#partial switch' wanted?\n"); } } } @@ -1324,7 +1324,7 @@ void check_type_switch_stmt(CheckerContext *ctx, Ast *node, u32 mod_flags) { } } error_line("\n"); - error_line("\tSuggestion: Was '#partial switch' wanted? This replaces the previous '#complete switch'.\n"); + error_line("\tSuggestion: Was '#partial switch' wanted?\n"); } } } |