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

This commit is contained in:
rlar
2018-02-17 19:15:54 +01:00
parent 4a6c7db226
commit 7fc7202bdf
+2 -3
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 ? */