From 841ea9742152b8c1b6fb2118ca05754e6855e177 Mon Sep 17 00:00:00 2001 From: Mathew Sutcliffe Date: Tue, 6 May 2014 18:30:02 +0100 Subject: [PATCH] fixed Clang warnings detected by Jenkins --- src/blackgui/flightplancomponent.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/blackgui/flightplancomponent.cpp b/src/blackgui/flightplancomponent.cpp index 50de640ef..ae49f0872 100644 --- a/src/blackgui/flightplancomponent.cpp +++ b/src/blackgui/flightplancomponent.cpp @@ -32,6 +32,7 @@ namespace BlackGui Q_ASSERT(c); c = connect(this->ui->le_AirlineOperator, SIGNAL(textChanged(QString)), this, SLOT(buildRemarkString())); Q_ASSERT(c); + Q_UNUSED(c); connect(this->ui->pte_AdditionalRemarks, &QPlainTextEdit::textChanged, this, &CFlightPlanComponent::buildRemarkString); connect(this->ui->frp_SelcalCode, &CSelcalCodeSelector::valueChanged, this, &CFlightPlanComponent::buildRemarkString); @@ -79,7 +80,7 @@ namespace BlackGui BlackMisc::CStatusMessageList messages; QString v; - CFlightPlan::FlightRules rule; + CFlightPlan::FlightRules rule = CFlightPlan::IFR; if (this->ui->rb_TypeIfr->isChecked()) rule = CFlightPlan::IFR; else if (this->ui->rb_TypeVfr->isChecked())