From af639e9848a6226d55bd7a2d9bd2997afd7ea64e Mon Sep 17 00:00:00 2001 From: amai2012 Date: Wed, 2 Jan 2019 18:08:39 +0100 Subject: [PATCH] #7772 Add uninitMemberVarPrivate to errorlist (#1557) --- lib/checkclass.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/checkclass.h b/lib/checkclass.h index c0b9e5922..f17b893ae 100644 --- a/lib/checkclass.h +++ b/lib/checkclass.h @@ -208,6 +208,7 @@ private: c.noOperatorEqError(nullptr, false, nullptr, false); c.noDestructorError(nullptr, false, nullptr); c.uninitVarError(nullptr, false, "classname", "varname", false); + c.uninitVarError(nullptr, true, "classname", "varname", false); c.operatorEqVarError(nullptr, "classname", emptyString, false); c.unusedPrivateFunctionError(nullptr, "classname", "funcname"); c.memsetError(nullptr, "memfunc", "classname", "class");