Delete unused variables, add semicolon