From 9b2f3cfd5eb455a399b6d3701e253402c24131ce Mon Sep 17 00:00:00 2001 From: dwarning Date: Thu, 15 Apr 2021 21:11:48 +0200 Subject: [PATCH] iter value never read - prevent compiler warning --- src/spicelib/devices/dio/diotemp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/spicelib/devices/dio/diotemp.c b/src/spicelib/devices/dio/diotemp.c index a09f7d079..8d7ee8fc4 100644 --- a/src/spicelib/devices/dio/diotemp.c +++ b/src/spicelib/devices/dio/diotemp.c @@ -208,7 +208,6 @@ void DIOtempUpdate(DIOmodel *inModel, DIOinstance *here, double Temp, CKTcircuit tol=ckt->CKTreltol*cbv; xbv=tBreakdownVoltage-model->DIObrkdEmissionCoeff*vt*log(1+cbv/ (here->DIOtSatCur)); - iter=0; for(iter=0 ; iter < 25 ; iter++) { xbv=tBreakdownVoltage-model->DIObrkdEmissionCoeff*vt*log(cbv/ (here->DIOtSatCur)+1-xbv/vt);