From 64c407332db2f03f78511a4ac592b4920fd97911 Mon Sep 17 00:00:00 2001 From: dwarning Date: Fri, 16 Apr 2021 11:50:39 +0200 Subject: [PATCH] rm dead assignemnts --- src/spicelib/devices/dio/dioload.c | 4 ---- src/spicelib/devices/vdmos/vdmosload.c | 5 ----- 2 files changed, 9 deletions(-) diff --git a/src/spicelib/devices/dio/dioload.c b/src/spicelib/devices/dio/dioload.c index 50a1a6fee..cea651536 100644 --- a/src/spicelib/devices/dio/dioload.c +++ b/src/spicelib/devices/dio/dioload.c @@ -95,12 +95,8 @@ DIOload(GENmodel *inModel, CKTcircuit *ckt) #endif /* SENSDEBUG */ } - cd = 0.0; - cdb = 0.0; cdsw = 0.0; cdsw_dT = 0.0; - gd = 0.0; - gdb = 0.0; gdsw = 0.0; delTemp = 0.0; vt = CONSTKoverQ * here->DIOtemp; diff --git a/src/spicelib/devices/vdmos/vdmosload.c b/src/spicelib/devices/vdmos/vdmosload.c index 6f59bd391..ae1079c19 100644 --- a/src/spicelib/devices/vdmos/vdmosload.c +++ b/src/spicelib/devices/vdmos/vdmosload.c @@ -89,7 +89,6 @@ VDMOSload(GENmodel *inModel, CKTcircuit *ckt) * here. They may be moved at the expense of instance size */ - delTemp = 0.0; if ((ckt->CKTmode & MODEINITSMSIG)) { vgs = *(ckt->CKTstate0 + here->VDMOSvgs); vds = *(ckt->CKTstate0 + here->VDMOSvds); @@ -682,10 +681,6 @@ bypass: double tol; /* temporary for tolerance calculations */ #endif - cd = 0.0; - cdb = 0.0; - gd = 0.0; - gdb = 0.0; gspr = here->VDIOtConductance; vt = CONSTKoverQ * Temp;