Any reason for this unused `if` clause?