I did this once and it was obvious the interviewer wanted me to point out his pet "gotcha." Not a great experience.
Each code sample should have multiple things wrong. The best people will find most (not necessarily all) of them. The mediocre will find a few.