Add default case to GetPt, GetY and GetIp to avoid warning when compiling with optimi...