The code was well-defined, given that `&&` binds stronger than `||`, but still GCC warns about this. No functional changes.