changed message ids for uninitvar/nullpointer errors that was found by whole program analysis

This commit is contained in:
Daniel Marjamäki 2018-02-03 16:05:07 +01:00
parent d721c6aca5
commit 1fe59faecb
1 changed files with 2 additions and 2 deletions

View File

@ -1554,7 +1554,7 @@ bool CheckUninitVar::analyseWholeProgram(const std::list<Check::FileInfo*> &file
emptyString,
Severity::error,
"using argument " + readData.variableName + " that points at uninitialized variable " + uninitialized.variableName,
"uninitvar",
"ctuuninitvar",
CWE908, false);
errorLogger.reportErr(errmsg);
@ -1590,7 +1590,7 @@ bool CheckUninitVar::analyseWholeProgram(const std::list<Check::FileInfo*> &file
emptyString,
Severity::error,
"Null pointer dereference: " + dereference.variableName,
"uninitvar",
"ctunullpointer",
CWE476, false);
errorLogger.reportErr(errmsg);