Guard private fields that are unused in Release builds with #ifndef NDEBUG.

llvm-svn: 158609
This commit is contained in:
Benjamin Kramer 2012-06-16 21:48:23 +00:00
parent b9f84bb0ce
commit cc7c710fb0
1 changed files with 2 additions and 0 deletions

View File

@ -396,7 +396,9 @@ private:
/// just about any usage.
/// Becomes a noop in release mode; only useful for debug mode checking.
class ConcurrencyState {
#ifndef NDEBUG
void *Mutex; // a llvm::sys::MutexImpl in debug;
#endif
public:
ConcurrencyState();