getexpress(), `p' doesn't need to be initialised here

This commit is contained in:
rlar 2017-11-18 12:41:04 +01:00
parent 4a6c7db226
commit 7fc7202bdf
1 changed files with 2 additions and 3 deletions

View File

@ -1340,13 +1340,12 @@ getexpress(const char * const s, SPICE_DSTRINGPTR tstr_p, const char **pi)
returns tpe=='R' if (numeric, 'S' if (string only
*/
{
const char *xia_ptr;
const char *xia_ptr = *pi;
const char *ls_ptr;
const char *p = *pi - 1;
const char *p;
nupa_type tpe;
ls_ptr = s + strlen(s);
xia_ptr = p + 1;
while ((xia_ptr < ls_ptr - 1) && (*xia_ptr <= ' '))
xia_ptr++; /*white space ? */