fixed: somenow not initializing this pointer crashes us in libpthread
[deb_libcec.git] / src / lib / platform / threads / threads.h
index e29578c728a1b5b0abf5288b5898615433fb6498..6cc240644dc5659fd2bfea838cabb975fac98a3a 100644 (file)
@@ -46,7 +46,7 @@ namespace PLATFORM
     virtual ~CThread(void)
     {
       StopThread(0);
-      void *retVal;
+      void *retVal = NULL;
       ThreadsWait(m_thread, &retVal);
       #if defined(__WINDOWS__)
       (void *)retVal; //"unreferenced local variable" warning