embryo_cc - fix coverity complaint about assert

fix assert using a strance assert syntax and go back to basic asserts.
fix coverity CID 1361224

@fix
This commit is contained in:
Carsten Haitzler 2016-08-06 15:41:02 +09:00
parent 31f351ae4e
commit 15e34ffe15
1 changed files with 1 additions and 1 deletions

View File

@ -2098,7 +2098,7 @@ funcstub(int native)
error(10); /* illegal function or declaration */
return;
} /* if */
assert(("strcpy: source str size is more than available at destination", sizeof(str) <= sNAMEMAX));
assert(sizeof(str) <= sNAMEMAX);
strcpy(symbolname, str);
} /* if */
needtoken('('); /* only functions may be native/forward */