The variable error is never used.