Nuke spurious NULL checks in spcomp to appease Clang 3.5

This commit is contained in:
Nicholas Hastings
2014-09-09 22:04:24 -04:00
parent acdd9e12ea
commit 9a9446400d
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -6943,7 +6943,7 @@ static int test(int label,int parens,int invert)
if (endtok!=0)
needtoken(endtok);
if (ident==iARRAY || ident==iREFARRAY) {
const char *ptr=(sym->name!=NULL) ? sym->name : "-unknown-";
const char *ptr=sym->name;
error(33,ptr); /* array must be indexed */
} /* if */
if (ident==iCONSTEXPR) { /* constant expression */