nupa_substitute(), verify `r' beeing unused now
This commit is contained in:
parent
b0e5fc267c
commit
a34703f748
|
|
@ -1175,14 +1175,14 @@ insertnumber(dico_t *dico, char * const s, SPICE_DSTRINGPTR ustr_p)
|
||||||
|
|
||||||
|
|
||||||
bool
|
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.
|
/* s: pointer to original source line.
|
||||||
r: pointer to result line, already heavily modified wrt s
|
r: pointer to result line, already heavily modified wrt s
|
||||||
anywhere we find a 10-char numstring in r, substitute it.
|
anywhere we find a 10-char numstring in r, substitute it.
|
||||||
bug: wont flag overflow!
|
bug: wont flag overflow!
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
char *r_ = r;
|
char *r_ = r__;
|
||||||
bool err = 0;
|
bool err = 0;
|
||||||
|
|
||||||
SPICE_DSTRING qstr; /* temp result dynamic string */
|
SPICE_DSTRING qstr; /* temp result dynamic string */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue