aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-12-26 16:39:33 +0100
committerSimon Warta <[email protected]>2016-01-11 16:20:31 +0100
commitbd7ae5416385c12437dbb1e8cf377e0e817e7a90 (patch)
treeea04970928130fd720dfba9f9587f6b9fa517560 /src/cli
parent672d29570e55686b90126b5d6f5d337ddf0b8f04 (diff)
Get rid of "extra ';'" warnings and force semicolon after macros
Diffstat (limited to 'src/cli')
-rw-r--r--src/cli/cli.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cli/cli.h b/src/cli/cli.h
index 49167b2ad..890d4a630 100644
--- a/src/cli/cli.h
+++ b/src/cli/cli.h
@@ -547,7 +547,8 @@ class Command
#define BOTAN_REGISTER_COMMAND(name, CLI_Class) \
namespace { Botan_CLI::Command::Registration \
- reg_cmd_ ## CLI_Class(name, []() -> Botan_CLI::Command* { return new CLI_Class; }); }
+ reg_cmd_ ## CLI_Class(name, []() -> Botan_CLI::Command* { return new CLI_Class; }); } \
+ BOTAN_FORCE_SEMICOLON
}