Suggestion: use a guard.

```
if (result)
    return FAIL;

return OK;
```