forked from enlightenment/efl
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:
parent
31f351ae4e
commit
15e34ffe15
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue