Control-flow analysis yields one or more exit paths that do not
provide a return value. This example shows a situation where the
warning would be issued.
Example
int testfunc (int i; int k) {
if (i < k) return (i + k); /* true path returns a value */
/* false path returns a random value */
}
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.