[RFC] Fix unused variable when NDEBUG is defined.

Occurs when compiling with:

     rm -rf build/ && make clean && make cmake CFLAGS='-DNDEBUG' && make

The `rm build/` step seems to be important, if you have an existing build/.