cec: fixed compiler warning on non-windows
authorLars Op den Kamp <lars@opdenkamp.eu>
Mon, 23 Apr 2012 12:14:37 +0000 (14:14 +0200)
committerLars Op den Kamp <lars@opdenkamp.eu>
Mon, 23 Apr 2012 12:14:37 +0000 (14:14 +0200)
src/lib/platform/threads/threads.h

index 31c2daffa2e39c4ff5cf08ec768b0f235efbbe9a..e29578c728a1b5b0abf5288b5898615433fb6498 100644 (file)
@@ -48,7 +48,9 @@ namespace PLATFORM
       StopThread(0);
       void *retVal;
       ThreadsWait(m_thread, &retVal);
+      #if defined(__WINDOWS__)
       (void *)retVal; //"unreferenced local variable" warning
+      #endif
     }
 
     static void *ThreadHandler(CThread *thread)