Skip to content

Commit

Permalink
bugfix: use of uninitialied variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jankae committed Oct 17, 2024
1 parent b98fc17 commit 7418e08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Software/LibreCAL-GUI/caldevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ void CalDevice::loadCoefficientSetsThreadSlow(QStringList names, QList<int> port
totalPoints += usb->Query(":COEFF:NUM? "+name+" P"+QString::number(i)+"_SHORT").toInt();
totalPoints += usb->Query(":COEFF:NUM? "+name+" P"+QString::number(i)+"_LOAD").toInt();
for(int jdx=idx+1;jdx<numPorts;jdx++) {
int j = ports[j];
int j = ports[jdx];
totalPoints += usb->Query(":COEFF:NUM? "+name+" P"+QString::number(i)+QString::number(j)+"_THROUGH").toInt();
}
}
Expand Down

0 comments on commit 7418e08

Please sign in to comment.