Browse Source

nupa_substitute(), verify `r' beeing unused now

pre-master-46
rlar 10 years ago
parent
commit
a34703f748
  1. 4
      src/frontend/numparam/xpressn.c

4
src/frontend/numparam/xpressn.c

@ -1175,14 +1175,14 @@ insertnumber(dico_t *dico, char * const s, SPICE_DSTRINGPTR ustr_p)
bool
nupa_substitute(dico_t *dico, const char *s, char * const r)
nupa_substitute(dico_t *dico, const char *s, char * const r__)
/* s: pointer to original source line.
r: pointer to result line, already heavily modified wrt s
anywhere we find a 10-char numstring in r, substitute it.
bug: wont flag overflow!
*/
{
char *r_ = r;
char *r_ = r__;
bool err = 0;
SPICE_DSTRING qstr; /* temp result dynamic string */

Loading…
Cancel
Save