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

@ -111,7 +111,7 @@ void ImpedanceMatchDialog::calculateMatch()
// convert X and B to inductor and capacitor
bool twoCs = false;
bool twoLs = false;
double L, C, C2, L2;
double L = 0, C = 0, C2 = 0, L2 = 0;
if(X >= 0) {
L = X/(2*M_PI*freq);
if(B > 0) {