From a5e6d46acc9d0b6755d449c51ad754cd8fa6ccc1 Mon Sep 17 00:00:00 2001 From: Carlos Zamora Date: Mon, 7 Jun 2021 12:53:38 -0700 Subject: [PATCH] Remove unnecessary braces from cases --- src/cascadia/TerminalSettingsModel/ActionMap.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/cascadia/TerminalSettingsModel/ActionMap.cpp b/src/cascadia/TerminalSettingsModel/ActionMap.cpp index 654709f94bea..f955d99a0186 100644 --- a/src/cascadia/TerminalSettingsModel/ActionMap.cpp +++ b/src/cascadia/TerminalSettingsModel/ActionMap.cpp @@ -30,11 +30,9 @@ namespace winrt::Microsoft::Terminal::Settings::Model::implementation { #define ON_ALL_ACTIONS_WITH_ARGS(action) \ case ShortcutAction::action: \ - { \ /* If it does, hash the default values for the args.*/ \ hashedArgs = gsl::narrow_cast(make().Hash()); \ - break; \ - } + break; ALL_SHORTCUT_ACTIONS_WITH_ARGS #undef ON_ALL_ACTIONS_WITH_ARGS default: