You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A simple check that warns, and potentially fixes, the use of unmatched compound statements (i.e., braces) following an if/else statements. For example:
voidf(bool Flag) {
if (Flag)
doSomething();
else {
// we need to do something else here!doSomethingElse();
}
}
This example will trigger a warning since the if branch do not uses braces, while the else branch does. Vice-versa also applies.