From c761c74a22cee61230bdbfb63780266349e8ecdc Mon Sep 17 00:00:00 2001 From: rlar Date: Wed, 25 Oct 2017 22:12:58 +0200 Subject: [PATCH] numparam, entry_type, #4/5, drop 'nolookup' which has known value here --- src/frontend/numparam/xpressn.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/frontend/numparam/xpressn.c b/src/frontend/numparam/xpressn.c index 14a902504..8fb7c9270 100644 --- a/src/frontend/numparam/xpressn.c +++ b/src/frontend/numparam/xpressn.c @@ -1110,7 +1110,7 @@ evaluate(dico_t *dico, SPICE_DSTRINGPTR qstr_p, char *t, unsigned char mode) int j, lq; nupa_type dt; entry_t *entry; - bool numeric, done, nolookup; + bool numeric, done; bool err; spice_dstring_reinit(qstr_p); @@ -1121,12 +1121,10 @@ evaluate(dico_t *dico, SPICE_DSTRINGPTR qstr_p, char *t, unsigned char mode) /* string? */ stupcase(t); entry = entrynb(dico, t); - nolookup = !entry; if (!entry) return message(dico, - "\"%s\" not evaluated.%s\n", t, - nolookup ? " Lookup failure." : ""); + "\"%s\" not evaluated. Lookup failure.\n", t); dt = entry->tp;