spicelib/devices/{sw,csw}, #1/, drop unused assignment

This commit is contained in:
rlar 2018-03-10 10:41:58 +01:00
parent ead6dc4816
commit bc21f25fe7
1 changed files with 0 additions and 1 deletions

View File

@ -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)