| 392 | } |
| 393 | |
| 394 | void CheckIOImpl::readWriteOnlyFileError(const Token *tok) |
| 395 | { |
| 396 | reportError(tok, Severity::error, |
| 397 | "readWriteOnlyFile", "Read operation on a file that was opened only for writing.", CWE664, Certainty::normal); |
| 398 | } |
| 399 | |
| 400 | void CheckIOImpl::writeReadOnlyFileError(const Token *tok) |
| 401 | { |
no test coverage detected