Variables can be assigned but not declared inside the conditional statement:
int v;
if((v = someMethod()) != 0) return true;
Variables can be assigned but not declared inside the conditional statement:
int v;
if((v = someMethod()) != 0) return true;