Commit 59518f56 authored by Don Gagne's avatar Don Gagne

Fix compiler warnings

parent c1768f51
...@@ -89,6 +89,8 @@ void QGroundControlQmlGlobal::startPX4MockLink(bool sendStatusText) ...@@ -89,6 +89,8 @@ void QGroundControlQmlGlobal::startPX4MockLink(bool sendStatusText)
mockConfig.setSendStatusText(sendStatusText); mockConfig.setSendStatusText(sendStatusText);
_startMockLink(&mockConfig); _startMockLink(&mockConfig);
#else
Q_UNUSED(sendStatusText);
#endif #endif
} }
...@@ -102,6 +104,8 @@ void QGroundControlQmlGlobal::startGenericMockLink(bool sendStatusText) ...@@ -102,6 +104,8 @@ void QGroundControlQmlGlobal::startGenericMockLink(bool sendStatusText)
mockConfig.setSendStatusText(sendStatusText); mockConfig.setSendStatusText(sendStatusText);
_startMockLink(&mockConfig); _startMockLink(&mockConfig);
#else
Q_UNUSED(sendStatusText);
#endif #endif
} }
...@@ -115,6 +119,8 @@ void QGroundControlQmlGlobal::startAPMArduCopterMockLink(bool sendStatusText) ...@@ -115,6 +119,8 @@ void QGroundControlQmlGlobal::startAPMArduCopterMockLink(bool sendStatusText)
mockConfig.setSendStatusText(sendStatusText); mockConfig.setSendStatusText(sendStatusText);
_startMockLink(&mockConfig); _startMockLink(&mockConfig);
#else
Q_UNUSED(sendStatusText);
#endif #endif
} }
...@@ -128,6 +134,8 @@ void QGroundControlQmlGlobal::startAPMArduPlaneMockLink(bool sendStatusText) ...@@ -128,6 +134,8 @@ void QGroundControlQmlGlobal::startAPMArduPlaneMockLink(bool sendStatusText)
mockConfig.setSendStatusText(sendStatusText); mockConfig.setSendStatusText(sendStatusText);
_startMockLink(&mockConfig); _startMockLink(&mockConfig);
#else
Q_UNUSED(sendStatusText);
#endif #endif
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment