clang-tidy readability-static-definition-in-anonymous-namespace

This commit is contained in:
Daniel Agar 2017-01-31 00:43:09 -05:00
parent b59ab8b663
commit 345123bb04
2 changed files with 2 additions and 2 deletions

View File

@ -188,7 +188,7 @@ Checks: 'clang-diagnostic-*,clang-analyzer-*,-*,
readability-redundant-string-cstr,
readability-redundant-string-init,
## TODO: fix code and enable # readability-simplify-boolean-expr,
#readability-static-definition-in-anonymous-namespace,
readability-static-definition-in-anonymous-namespace,
readability-uniqueptr-delete-release,
'
WarningsAsErrors: '*'

View File

@ -862,7 +862,7 @@ enum PortMode {
PORT2_16PWM,
};
static PortMode g_port_mode = PORT_MODE_UNDEFINED;
PortMode g_port_mode = PORT_MODE_UNDEFINED;
int
hil_new_mode(PortMode new_mode)