Fix assertions which have accidental side effects
Asserting that an assignment isn't zero is a valid use of Assert(), but these instances look more like accidental assignments due to a missing '='. getgpsegmentCount() is already internally asserting that the count is > 0 so we would never reach here in case it was.
Showing
想要评论请 注册 或 登录