embryo_cc - remove useless check against always-there array

fix CID 1039345
This commit is contained in:
Carsten Haitzler 2014-08-27 17:05:01 +09:00
parent 185d1f44cb
commit 209962f763
1 changed files with 1 additions and 2 deletions

View File

@ -1099,8 +1099,7 @@ hier13(value * lval)
}
else if (!array1 && array2)
{
char *ptr =
(lval2.sym->name) ? lval2.sym->name : "-unknown-";
char *ptr = lval2.sym->name;
error(33, ptr); /* array must be indexed */
} /* if */
/* ??? if both are arrays, should check dimensions */