I would move this line and the next to after the if statement as a matter of style/readability.