aboutsummaryrefslogtreecommitdiff
path: root/src/check_stmt.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-06-09 23:05:37 +0100
committergingerBill <bill@gingerbill.org>2021-06-09 23:05:37 +0100
commitb0e21bd616d6111e301378475f493ddf9c75391f (patch)
treea133a755729ff95c31115a862bbc6b6452db9942 /src/check_stmt.cpp
parent7b88bed098397b73bce8bf1202b61012f3efda21 (diff)
Allow trivial optimizations for switch statements of `typeid`
Diffstat (limited to 'src/check_stmt.cpp')
-rw-r--r--src/check_stmt.cpp4
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");
}
}
}