From 561fdd805c79673cc8ef07c7c13548ec2d5b234b Mon Sep 17 00:00:00 2001 From: dwarning Date: Tue, 21 Aug 2018 13:18:24 +0200 Subject: [PATCH] rm unused variables --- src/frontend/inpcom.c | 2 -- src/frontend/numparam/xpressn.c | 1 - src/frontend/outitf.c | 2 ++ 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index 3e92b4198..dc79e8064 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -7164,8 +7164,6 @@ pspice_compat(struct card *oldcard) q3 1 2 3 4 bjtmod 1.45 --> q2 1 2 3 4 bjtmod area=1.45 */ for (card = newcard; card; card = card->nextcard) { - static struct card *subcktline = NULL; - static int nesting = 0; char *cut_line = card->line; if (*cut_line == '*') continue; diff --git a/src/frontend/numparam/xpressn.c b/src/frontend/numparam/xpressn.c index ed957fd7b..5f0cf740f 100644 --- a/src/frontend/numparam/xpressn.c +++ b/src/frontend/numparam/xpressn.c @@ -239,7 +239,6 @@ void initdico(dico_t *dico) { int asize = 10; /* default allocation depth of the synbol stack */ - COMPATMODE_T compat_mode; dico->srcline = -1; dico->errcount = 0; diff --git a/src/frontend/outitf.c b/src/frontend/outitf.c index 40938e32b..96ea0dea1 100644 --- a/src/frontend/outitf.c +++ b/src/frontend/outitf.c @@ -90,7 +90,9 @@ static bool shouldstop = FALSE; /* Tell simulator to stop next time it asks. */ static bool interpolated = FALSE; static double *valueold, *valuenew; +#ifdef SHARED_MODULE static bool savenone = FALSE; +#endif /* The two "begin plot" routines share all their internals... */