From ad7661849c0e43a1de61b728a4db052d36e3255b Mon Sep 17 00:00:00 2001 From: DSPOM Date: Tue, 10 May 2022 10:36:02 +0200 Subject: [PATCH] fix: do not ignore first parameter --- src/spicelib/parser/inpgmod.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/spicelib/parser/inpgmod.c b/src/spicelib/parser/inpgmod.c index 8a87af644..8892343b7 100644 --- a/src/spicelib/parser/inpgmod.c +++ b/src/spicelib/parser/inpgmod.c @@ -119,8 +119,6 @@ create_model(CKTcircuit *ckt, INPmodel *modtmp, INPtables *tab) if (device->registry_entry){ INPgetNetTok(&line, &parm, 1); /* throw away osdi */ tfree(parm); - INPgetNetTok(&line, &parm, 1); /* throw away module name */ - tfree(parm); } #endif