Made static local variable non-static (thread-safety, #5934)

This commit is contained in:
PKEuS 2014-06-18 17:06:52 +02:00
parent 0804997c9b
commit dcc646735d
1 changed files with 1 additions and 1 deletions

View File

@ -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);