diode cbv only needed for tracing - prevent compiler warning

This commit is contained in:
dwarning 2021-04-15 21:07:24 +02:00 committed by Holger Vogt
parent 2b2e40793e
commit 4e86cfa352
1 changed files with 1 additions and 1 deletions

View File

@ -197,8 +197,8 @@ void DIOtempUpdate(DIOmodel *inModel, DIOinstance *here, double Temp, CKTcircuit
cbv = here->DIOm * model->DIObreakdownCurrent * here->DIOarea; cbv = here->DIOm * model->DIObreakdownCurrent * here->DIOarea;
} }
if (cbv < here->DIOtSatCur * tBreakdownVoltage/vt) { if (cbv < here->DIOtSatCur * tBreakdownVoltage/vt) {
cbv=here->DIOtSatCur * tBreakdownVoltage/vt;
#ifdef TRACE #ifdef TRACE
cbv=here->DIOtSatCur * tBreakdownVoltage/vt;
SPfrontEnd->IFerrorf (ERR_WARNING, "%s: breakdown current increased to %g to resolve", here->DIOname, cbv); SPfrontEnd->IFerrorf (ERR_WARNING, "%s: breakdown current increased to %g to resolve", here->DIOname, cbv);
SPfrontEnd->IFerrorf (ERR_WARNING, SPfrontEnd->IFerrorf (ERR_WARNING,
"incompatibility with specified saturation current"); "incompatibility with specified saturation current");