Variables only used in asserts have been removed, their content used directly in the assert() instead.