Suppress all debug messages by default.
Fix unused variable error in release builds.