Remove redundant assignment in declaration