Removed warnings

This commit is contained in:
Jan Käberich 2020-11-19 17:10:47 +01:00
parent c00d00cac2
commit 6d445631f0
10 changed files with 23 additions and 20 deletions

View file

@ -110,8 +110,8 @@ void TraceEditDialog::on_buttonBox_accepted()
auto t = ui->touchstoneImport->getTouchstone();
trace.fillFromTouchstone(t, ui->CParameter->currentIndex(), ui->touchstoneImport->getFilename());
} else {
Trace::LivedataType type;
Trace::LiveParameter param;
Trace::LivedataType type = Trace::LivedataType::Overwrite;
Trace::LiveParameter param = Trace::LiveParameter::S11;
switch(ui->CLiveType->currentIndex()) {
case 0: type = Trace::LivedataType::Overwrite; break;
case 1: type = Trace::LivedataType::MaxHold; break;