Why initialize p to arg here, when it's initialized again later at line 1172 before it is used.