From bc21f25fe775329c37b32f08f0db42089fb445dc Mon Sep 17 00:00:00 2001 From: rlar Date: Sat, 10 Mar 2018 10:41:58 +0100 Subject: [PATCH] spicelib/devices/{sw,csw}, #1/, drop unused assignment --- src/spicelib/devices/sw/swload.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/spicelib/devices/sw/swload.c b/src/spicelib/devices/sw/swload.c index 4150d736f..2f5dc6cb0 100644 --- a/src/spicelib/devices/sw/swload.c +++ b/src/spicelib/devices/sw/swload.c @@ -111,7 +111,6 @@ SWload(GENmodel *inModel, CKTcircuit *ckt) else if (v_ctrl < (model->SWvThreshold + model->SWvHysteresis)) current_state = REALLY_OFF; else { - current_state = 0.0; if (previous_state == HYST_ON || previous_state == HYST_OFF) current_state = previous_state; else if (previous_state == REALLY_ON)