nupa_subcktcall(), spice_dstring_value(&tstr) ==> t_p

t_p is const and tstr hasn't been modified either,
thus still the same value.
This commit is contained in:
rlar 2016-05-16 12:03:56 +02:00
parent cb4dfa13d8
commit 742f34f596
1 changed files with 2 additions and 2 deletions

View File

@ -1643,10 +1643,10 @@ nupa_subcktcall(dico_t *dico, char *s, char * const x, char * const inst_name)
int h = k;
while (t_p[k] > ' ')
k++;
pscopy(&ustr, spice_dstring_value(&tstr), h, k - h);
pscopy(&ustr, t_p, h, k - h);
j = k;
} else if (t_p[k] == '{') {
char *aux = spice_dstring_value(&tstr);
char *aux = t_p;
const char *tmp = aux + j;
tmp = getexpress(NULL, &ustr, tmp);
j = (int) (tmp - aux);