Fix compiler warning for unused variable that is compiled out as Assert.