diff --git a/port/win/port_win.h b/port/win/port_win.h index edee22e7a..8f5d7e1e0 100644 --- a/port/win/port_win.h +++ b/port/win/port_win.h @@ -114,8 +114,11 @@ class CondVar; class Mutex { public: - /* implicit */ Mutex(bool adaptive = false) : locked_(false) { - } + /* implicit */ Mutex(bool adaptive = false) +#ifndef NDEBUG + : locked_(false) +#endif + { } ~Mutex();