diff --git a/lib/checkstring.h b/lib/checkstring.h index eab7e20fd..9a3596ca2 100644 --- a/lib/checkstring.h +++ b/lib/checkstring.h @@ -94,6 +94,7 @@ private: void getErrorMessages(ErrorLogger *errorLogger, const Settings *settings) const { CheckString c(0, settings, errorLogger); + c.stringLiteralWriteError(0); c.sprintfOverlappingDataError(0, "varname"); c.strPlusCharError(0); c.incorrectStringCompareError(0, "substr", "\"Hello World\"");