From 03dd81d0984fd92d7311483a8dc525a98c9e04af 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 0c6a540a9b4..3030d369547 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: