CheckAssert: Fixed shadow variable warning