Move assertion to satisfy scan-build