From 9ee9f9262b5ce8d49f92d11a516006687c368f91 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Sun, 13 Aug 2023 11:31:01 +0200 Subject: [PATCH] Prevent buffer overflow, remove unused --- src/xspice/icm/analog/pwlts/cfunc.mod | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/xspice/icm/analog/pwlts/cfunc.mod b/src/xspice/icm/analog/pwlts/cfunc.mod index 45d74b4d6..8aaf26d45 100644 --- a/src/xspice/icm/analog/pwlts/cfunc.mod +++ b/src/xspice/icm/analog/pwlts/cfunc.mod @@ -155,9 +155,6 @@ void cm_pwlts(ARGS) /* structure holding parms, double test1; /* debug testing value */ double test2; /* debug testing value */ double *last_x_value; /* static variable for limiting */ - double test; /* temp storage variable for limit testing */ - - Mif_Complex_t ac_gain; CALLBACK = cm_pwlts_callback; @@ -283,7 +280,7 @@ void cm_pwlts(ARGS) /* structure holding parms, /*** must determine position progressively & then ***/ /*** calculate required output. ***/ - for (i=1; i