Perf: Use fallthrough pseudo-keyword
PATCH 1/1 Perf: Use fallthrough pseudo-keyword
Hi maintainers,
There is a usage of ``/* fall thru */`` in a switch statement in hist_browser__handle_hotkey() that have long been untouched. This patch replaced it with the better and proper pseudo-keyword ``fallthrough;``.
Please merge if it is the case. Thank you in advance.
Signed-off-by Pairman Guo <[email protected]>
--- tools/perf/ui/browsers/hists.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/ui/browsers/hists.c +1 -1
@@ -732,7 +732,7 @@ static int hist_browser__handle_hotkey(struct hist_browser *browser, bool warn_lcase '+' :if (hist_browser__toggle_fold (browser))break ; -/* fall thru */ + fallthrough;default :return -1 ; }
Signature · 1 line
2.43.1