When Harry saw that he was in the same group with Neville, he realized that he was going to be getting some exercise, which didn't bother him at all. Remembering how disgusting Vernon and Dudley were, he wanted to make sure that he would never look like that.