MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / seekOnAppendedFileError

Method seekOnAppendedFileError

lib/checkio.cpp:421–425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

419}
420
421void CheckIOImpl::seekOnAppendedFileError(const Token *tok)
422{
423 reportError(tok, Severity::warning,
424 "seekOnAppendedFile", "Repositioning operation performed on a file opened in append mode has no effect.", CWE398, Certainty::normal);
425}
426
427void CheckIOImpl::incompatibleFileOpenError(const Token *tok, const std::string &filename)
428{

Callers 1

getErrorMessagesMethod · 0.80

Calls 1

reportErrorFunction · 0.70

Tested by

no test coverage detected