| 1208 | } |
| 1209 | |
| 1210 | void CheckClassImpl::operatorEqVarError(const Token *tok, const std::string &classname, const std::string &varname, bool inconclusive) |
| 1211 | { |
| 1212 | reportError(tok, Severity::warning, "operatorEqVarError", "$symbol:" + classname + "::" + varname + "\nMember variable '$symbol' is not assigned a value in '" + classname + "::operator='.", CWE398, inconclusive ? Certainty::inconclusive : Certainty::normal); |
| 1213 | } |
| 1214 | |
| 1215 | //--------------------------------------------------------------------------- |
| 1216 | // ClassCheck: Use initialization list instead of assignment |
no test coverage detected