mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 11:55:35 +08:00
Fixed clazy warnings: returning void expression.
This commit is contained in:
@@ -83,7 +83,7 @@ namespace BlackSimPlugin
|
||||
void CSimulatorEmulated::unload()
|
||||
{
|
||||
if (canLog()) { m_monitorWidget->appendReceivingCall(Q_FUNC_INFO); }
|
||||
return CSimulatorPluginCommon::unload();
|
||||
CSimulatorPluginCommon::unload();
|
||||
}
|
||||
|
||||
bool CSimulatorEmulated::logicallyAddRemoteAircraft(const CSimulatedAircraft &remoteAircraft)
|
||||
|
||||
@@ -209,7 +209,7 @@ namespace BlackSimPlugin
|
||||
void CSimConnectObject::attachInterpolatorLogger(CInterpolationLogger *logger) const
|
||||
{
|
||||
Q_ASSERT(m_interpolator);
|
||||
return m_interpolator->attachLogger(logger);
|
||||
m_interpolator->attachLogger(logger);
|
||||
}
|
||||
|
||||
CInterpolationResult CSimConnectObject::getInterpolation(qint64 currentTimeSinceEpoc, const CInterpolationAndRenderingSetupPerCallsign &setup, int aircraftNumber) const
|
||||
|
||||
@@ -294,10 +294,10 @@ namespace BlackSimPlugin
|
||||
{
|
||||
#ifdef Q_OS_WIN64
|
||||
if (!loadAndResolveP3DSimConnectByString(m_p3dVersion.get())) { return; }
|
||||
return CSimulatorFsxCommonListener::startImpl();
|
||||
CSimulatorFsxCommonListener::startImpl();
|
||||
#else
|
||||
if (!loadAndResolveFsxSimConnect(true)) { return; }
|
||||
return CSimulatorFsxCommonListener::startImpl();
|
||||
CSimulatorFsxCommonListener::startImpl();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace BlackSimPlugin
|
||||
void CXPlaneMPAircraft::attachInterpolatorLogger(CInterpolationLogger *logger) const
|
||||
{
|
||||
Q_ASSERT(m_interpolator);
|
||||
return m_interpolator->attachLogger(logger);
|
||||
m_interpolator->attachLogger(logger);
|
||||
}
|
||||
|
||||
CInterpolationResult CXPlaneMPAircraft::getInterpolation(qint64 currentTimeSinceEpoc, const CInterpolationAndRenderingSetupPerCallsign &setup, int aircraftNumber) const
|
||||
|
||||
Reference in New Issue
Block a user