From 1820f5547f0ef93c7234fd5f70484f2efadce860 Mon Sep 17 00:00:00 2001 From: rlar Date: Tue, 31 Oct 2017 10:19:06 +0100 Subject: [PATCH] numparam/xpressn.c, #4/5, use a local 'c' instead of 'dt' --- src/frontend/numparam/xpressn.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/frontend/numparam/xpressn.c b/src/frontend/numparam/xpressn.c index e78706f1f..e960efa68 100644 --- a/src/frontend/numparam/xpressn.c +++ b/src/frontend/numparam/xpressn.c @@ -1152,15 +1152,15 @@ evaluate(dico_t *dico, SPICE_DSTRINGPTR qstr_p, char *t, unsigned char mode) { j++; lq++; - dt = /* ibf->bf[j]; */ entry->sbbase[j]; + char c = /* ibf->bf[j]; */ entry->sbbase[j]; if (cpos('3', spice_dstring_value(&dico->option)) <= 0) - dt = upcase(dt); /* spice-2 */ + c = upcase(c); /* spice-2 */ - done = (dt == '\"') || (dt < ' ') || (lq > 99); + done = (c == '\"') || (c < ' ') || (lq > 99); if (!done) - cadd(qstr_p, dt); + cadd(qstr_p, c); } while (!done); }