spectre_netlist: avoid calling get_sym_template() twice
This commit is contained in:
parent
43e50ff031
commit
d38c192675
|
|
@ -577,7 +577,7 @@ int spectre_block_netlist(FILE *fd, int i, int alert)
|
|||
/* 20081206 new get_sym_template does not return token=value pairs where token listed in extra */
|
||||
s = get_sym_template(xctx->sym[i].templ, extra);
|
||||
if(s && s[0] && strchr(s, '=')) {
|
||||
fprintf(fd, "\nparameters %s", get_sym_template(xctx->sym[i].templ, extra));
|
||||
fprintf(fd, "\nparameters %s", s);
|
||||
}
|
||||
my_free(_ALLOC_ID_, &extra);
|
||||
fprintf(fd, "\n");
|
||||
|
|
|
|||
Loading…
Reference in New Issue