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

Method raceAfterInterlockedDecrementError

lib/checkother.cpp:3740–3744  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3738}
3739
3740void CheckOtherImpl::raceAfterInterlockedDecrementError(const Token* tok)
3741{
3742 reportError(tok, Severity::error, "raceAfterInterlockedDecrement",
3743 "Race condition: non-interlocked access after InterlockedDecrement(). Use InterlockedDecrement() return value instead.", CWE362, Certainty::normal);
3744}
3745
3746void CheckOtherImpl::checkUnusedLabel()
3747{

Callers 1

getErrorMessagesMethod · 0.80

Calls 1

reportErrorFunction · 0.70

Tested by

no test coverage detected