Don't use static where not needed (#952)
This commit is contained in:
parent
f0b5327450
commit
64eccd780c
|
@ -39,7 +39,7 @@
|
||||||
|
|
||||||
// Register this check class into cppcheck by creating a static instance of it..
|
// Register this check class into cppcheck by creating a static instance of it..
|
||||||
namespace {
|
namespace {
|
||||||
static CheckAutoVariables instance;
|
CheckAutoVariables instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const CWE CWE398(398U); // Indicator of Poor Code Quality
|
static const CWE CWE398(398U); // Indicator of Poor Code Quality
|
||||||
|
|
Loading…
Reference in New Issue