Commit f9ebd992 authored by Nate Weibley's avatar Nate Weibley

Fix warnings preventing build with /WX

parent 5ddd7d6a
...@@ -106,6 +106,7 @@ void SetupView::showFirmware(void) ...@@ -106,6 +106,7 @@ void SetupView::showFirmware(void)
"showFirmwarePanel", "showFirmwarePanel",
Q_RETURN_ARG(QVariant, returnedValue)); Q_RETURN_ARG(QVariant, returnedValue));
Q_ASSERT(success); Q_ASSERT(success);
Q_UNUSED(success);
#endif #endif
} }
...@@ -116,6 +117,7 @@ void SetupView::showParameters(void) ...@@ -116,6 +117,7 @@ void SetupView::showParameters(void)
"showParametersPanel", "showParametersPanel",
Q_RETURN_ARG(QVariant, returnedValue)); Q_RETURN_ARG(QVariant, returnedValue));
Q_ASSERT(success); Q_ASSERT(success);
Q_UNUSED(success);
} }
void SetupView::showSummary(void) void SetupView::showSummary(void)
...@@ -125,6 +127,7 @@ void SetupView::showSummary(void) ...@@ -125,6 +127,7 @@ void SetupView::showSummary(void)
"showSummaryPanel", "showSummaryPanel",
Q_RETURN_ARG(QVariant, returnedValue)); Q_RETURN_ARG(QVariant, returnedValue));
Q_ASSERT(success); Q_ASSERT(success);
Q_UNUSED(success);
} }
void SetupView::showVehicleComponentSetup(VehicleComponent* vehicleComponent) void SetupView::showVehicleComponentSetup(VehicleComponent* vehicleComponent)
...@@ -135,6 +138,7 @@ void SetupView::showVehicleComponentSetup(VehicleComponent* vehicleComponent) ...@@ -135,6 +138,7 @@ void SetupView::showVehicleComponentSetup(VehicleComponent* vehicleComponent)
Q_RETURN_ARG(QVariant, returnedValue), Q_RETURN_ARG(QVariant, returnedValue),
Q_ARG(QVariant, QVariant::fromValue((VehicleComponent*)vehicleComponent))); Q_ARG(QVariant, QVariant::fromValue((VehicleComponent*)vehicleComponent)));
Q_ASSERT(success); Q_ASSERT(success);
Q_UNUSED(success);
} }
#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