The comment is not mine. I just copied it over from the original raycast function (several lines above). Technically, I should probably state that 't' in this case is a parameter within the dtRaycastQuery.
But since the comment was (1) not mine, (2) was problematic even in the original function, and (3) you plan to change the interface there a bit anyways - I left as is.