From 066d26449f3838e5bce89ca7e8a5d576b30f0e3b Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Wed, 5 Nov 2025 17:44:48 +0100 Subject: [PATCH] Remove compiler warning --- src/spicelib/devices/devsup.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/spicelib/devices/devsup.c b/src/spicelib/devices/devsup.c index 762199cae..15f2b6204 100644 --- a/src/spicelib/devices/devsup.c +++ b/src/spicelib/devices/devsup.c @@ -820,6 +820,8 @@ DEVpred(CKTcircuit *ckt, int loct) xfact = ckt->CKTdelta/ckt->CKTdeltaOld[1]; return( ( (1+xfact) * *(ckt->CKTstate1+loct) ) - ( xfact * *(ckt->CKTstate2+loct) ) ); +#else + return 1.; #endif /* NEWTRUNC */ }