# HG changeset patch # User Alpar Juttner # Date 1347531826 -7200 # Node ID e344f0887c593a2786193e991a80dd50dc73b687 # Parent 404b98971e1fbb4e408966cad1226ad679a03a55 Further clang compilation fixes (#449) diff -r 404b98971e1f -r e344f0887c59 lemon/bits/windows.cc --- a/lemon/bits/windows.cc Thu Sep 13 12:13:19 2012 +0200 +++ b/lemon/bits/windows.cc Thu Sep 13 12:23:46 2012 +0200 @@ -136,6 +136,8 @@ CRITICAL_SECTION *lock = new CRITICAL_SECTION; InitializeCriticalSection(lock); _repr = lock; +#else + _repr = 0; //Just to avoid 'unused variable' warning with clang #endif }