From: Lars Op den Kamp Date: Mon, 23 Apr 2012 12:14:37 +0000 (+0200) Subject: cec: fixed compiler warning on non-windows X-Git-Tag: upstream/2.2.0~1^2~29^2^2~64 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=065a893a14c9b8f9b6f4672c9f455c7490d8e0d2;p=deb_libcec.git cec: fixed compiler warning on non-windows --- diff --git a/src/lib/platform/threads/threads.h b/src/lib/platform/threads/threads.h index 31c2daf..e29578c 100644 --- a/src/lib/platform/threads/threads.h +++ b/src/lib/platform/threads/threads.h @@ -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)