| 398 | } |
| 399 | |
| 400 | void CheckIOImpl::writeReadOnlyFileError(const Token *tok) |
| 401 | { |
| 402 | reportError(tok, Severity::error, |
| 403 | "writeReadOnlyFile", "Write operation on a file that was opened only for reading.", CWE664, Certainty::normal); |
| 404 | } |
| 405 | |
| 406 | void CheckIOImpl::useClosedFileError(const Token *tok) |
| 407 | { |
no test coverage detected