nupa_assignment(), express some constness

This commit is contained in:
rlar 2016-05-01 17:46:14 +02:00
parent 5f0958026b
commit 410e70b9b9
1 changed files with 1 additions and 2 deletions

View File

@ -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 <= ' '))