Further clang compilation fixes (#449)
authorAlpar Juttner <alpar@cs.elte.hu>
Thu, 13 Sep 2012 12:23:46 +0200
changeset 1001e344f0887c59
parent 1000 404b98971e1f
child 1004 d59484d5fc1f
Further clang compilation fixes (#449)
lemon/bits/windows.cc
     1.1 --- a/lemon/bits/windows.cc	Thu Sep 13 12:13:19 2012 +0200
     1.2 +++ b/lemon/bits/windows.cc	Thu Sep 13 12:23:46 2012 +0200
     1.3 @@ -136,6 +136,8 @@
     1.4        CRITICAL_SECTION *lock = new CRITICAL_SECTION;
     1.5        InitializeCriticalSection(lock);
     1.6        _repr = lock;
     1.7 +#else
     1.8 +      _repr = 0; //Just to avoid 'unused variable' warning with clang
     1.9  #endif
    1.10      }
    1.11