...
EXP12-EX1: If a function cannot fail or if the return value is inconsequential, such as for functions called because of their side effects, the function should be explicitly cast to void
to signify programmer intent
Code Block | ||
---|---|---|
| ||
(void) strcpy(dst, src); |
Risk Assessment
...