Made static local variable non-static (thread-safety, #5934)
This commit is contained in:
parent
0804997c9b
commit
dcc646735d
|
@ -114,7 +114,7 @@ void CheckLeakAutoVar::check()
|
|||
VarInfo varInfo;
|
||||
|
||||
// Local variables that are known to be non-zero.
|
||||
static const std::set<unsigned int> notzero;
|
||||
const std::set<unsigned int> notzero;
|
||||
|
||||
checkScope(scope->classStart, &varInfo, notzero);
|
||||
|
||||
|
|
Loading…
Reference in New Issue