forked from Archive/PX4-Autopilot
clang-tidy readability-static-definition-in-anonymous-namespace
This commit is contained in:
parent
b59ab8b663
commit
345123bb04
|
@ -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: '*'
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue