nupa_assignment(), express some constness
This commit is contained in:
parent
5f0958026b
commit
410e70b9b9
|
|
@ -1419,7 +1419,6 @@ nupa_assignment(dico_t *dico, const char * const s, char mode)
|
|||
*/
|
||||
{
|
||||
/* s has the format: ident = expression; ident= expression ... */
|
||||
int ls;
|
||||
const char *p = s;
|
||||
bool error, err;
|
||||
nupa_type dtype;
|
||||
|
|
@ -1431,7 +1430,7 @@ nupa_assignment(dico_t *dico, const char * const s, char mode)
|
|||
|
||||
spice_dstring_init(&tstr);
|
||||
spice_dstring_init(&ustr);
|
||||
ls = (int) strlen(s);
|
||||
const int ls = (int) strlen(s);
|
||||
error = 0;
|
||||
|
||||
while (((p - s) < ls) && (*p <= ' '))
|
||||
|
|
|
|||
Loading…
Reference in New Issue