Remove useless calls to sprintf