Fixed #5303 (Possible NULL pointer dereference in checkassert.cpp)

This commit is contained in:
Alexander Mai 2014-01-03 09:32:05 +01:00 committed by Daniel Marjamäki
parent a94fccf51a
commit f93d21c8df
1 changed files with 2 additions and 1 deletions

View File

@ -60,7 +60,8 @@ private:
void getErrorMessages(ErrorLogger *errorLogger, const Settings *settings) const {
CheckAssert c(0, settings, errorLogger);
c.assertWithSideEffects();
c.sideEffectInAssertError(0, "function");
c.assignmentInAssertError(0, "var");
}
static std::string myName() {