diff --git a/src/plugins/simulator/fs9/fs9client.cpp b/src/plugins/simulator/fs9/fs9client.cpp index 1c4b5ce80..7c091f65d 100644 --- a/src/plugins/simulator/fs9/fs9client.cpp +++ b/src/plugins/simulator/fs9/fs9client.cpp @@ -190,7 +190,7 @@ namespace BlackSimPlugin void CFs9Client::timerEvent(QTimerEvent *event) { - Q_UNUSED(event); + Q_UNUSED(event) sendMultiplayerPosition(); sendMultiplayerParamaters(); @@ -199,10 +199,9 @@ namespace BlackSimPlugin HRESULT CFs9Client::enumDirectPlayHosts() { HRESULT hr = s_ok(); - if (isFailure(hr = createHostAddress())) { - qWarning() << "isFailure to create host address!"; + CLogMessage(this).warning(u"FS9Client isFailure to create host address!"); return hr; } diff --git a/src/plugins/simulator/fs9/simulatorfs9.cpp b/src/plugins/simulator/fs9/simulatorfs9.cpp index bea277da4..4e09ec8d9 100644 --- a/src/plugins/simulator/fs9/simulatorfs9.cpp +++ b/src/plugins/simulator/fs9/simulatorfs9.cpp @@ -182,7 +182,7 @@ namespace BlackSimPlugin client->start(); m_hashFs9Clients.insert(callsign, client); - bool updated = updateAircraftRendered(callsign, rendered); + const bool updated = updateAircraftRendered(callsign, rendered); CSimulatedAircraft remoteAircraftCopy(newRemoteAircraft); remoteAircraftCopy.setRendered(rendered); if (updated) @@ -303,7 +303,7 @@ namespace BlackSimPlugin CFs9Client *client = m_hashFs9Clients[callsign].data(); if (!client) { return false; } - Q_UNUSED(parts); + Q_UNUSED(parts) int u = 0; if (situation.isNull()) {