mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +08:00
Ref T488 Update cppcheck suppressions.
This commit is contained in:
@@ -2391,6 +2391,7 @@ namespace BlackSimPlugin
|
||||
void CSimulatorFsxCommon::traceSendId(const CSimConnectObject &simObject, const QString &functionName, const QString &details, bool forceTrace)
|
||||
{
|
||||
if (!forceTrace && !this->isTracingSendId()) { return; }
|
||||
// cppcheck-suppress knownConditionTrueFalse
|
||||
if (MaxSendIdTraces < 1) { return; }
|
||||
DWORD dwLastId = 0;
|
||||
const HRESULT hr = SimConnect_GetLastSentPacketID(m_hSimConnect, &dwLastId);
|
||||
|
||||
Reference in New Issue
Block a user