[BUG] Fix -Wunused-variable warning in Release mode. Thnx to Kostya Serebryany for pointing.