From: Lars Op den Kamp Date: Sat, 21 Apr 2012 11:26:50 +0000 (+0200) Subject: win32: fixed "unreferenced local variable" warning X-Git-Tag: upstream/2.2.0~1^2~29^2^2~70 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=7b6a5b686b59ade6de136668d58105998131e686;p=deb_libcec.git win32: fixed "unreferenced local variable" warning --- diff --git a/src/lib/platform/threads/threads.h b/src/lib/platform/threads/threads.h index 1d14f8c..b5ccf38 100644 --- a/src/lib/platform/threads/threads.h +++ b/src/lib/platform/threads/threads.h @@ -48,6 +48,7 @@ namespace PLATFORM StopThread(0); void *retVal; ThreadsWait(m_thread, &retVal); + (void *)retVal; //"unreferenced local variable" warning } static void *ThreadHandler(CThread *thread)