silence some warnings. closes #47
[deb_libcec.git] / src / lib / platform / threads / threads.h
index 36477708d4750e6c2e035ca739d067f06cdff26a..d99cbf6bee34345aa9a54256a881676124094c29 100644 (file)
@@ -49,7 +49,7 @@ namespace PLATFORM
       StopThread(0);
       void *retVal = NULL;
       if (m_thread != INVALID_THREAD_VALUE)
-        ThreadsWait(m_thread, &retVal);
+        if (ThreadsWait(m_thread, &retVal)){}; // silence unused warning
     }
 
     static void *ThreadHandler(CThread *thread)