...
Code Block |
---|
void function(int one, int two, int three); //at top of file or in .h file
...
function(1,2) //compiler error
|
Also using a compiler setting that checks for implicity declared function will prevent accidentily calling a function before it is declared.
Risk Assesment
Rule | Severity | Likelihood | Remediation Cost | Priority | Level |
---|---|---|---|---|---|
DRAFT | 3 (high) | 3 (likely) | 2 (medium) | P18 | L1 |