Fixed a warning about the points array variable assignment