Fixing another -Wunused-variable warning, this time in release builds without asserts. NFC.