When building with LOCK_DEBUG but without casserts, I was getting unusedvariable warnings.
I believe this is the correct way to silence them.
Cheers,
Jeff