Commits

davep committed 421bf8b

Fix for mac/linux build

Comments (0)

Files changed (2)

indra/llaudio/llaudiodecodemgr.cpp

 	return FALSE;
 }
 
-#if LL_DARWIN || LL_LINUX
+#if LL_DARWIN
 // HACK: to fool the compiler into not emitting unused warnings.
 namespace {
 	const ov_callbacks callback_array[4] = {OV_CALLBACKS_DEFAULT, OV_CALLBACKS_NOCLOSE, OV_CALLBACKS_STREAMONLY, 

indra/llcommon/llthread.h

 public:
 	LLThreadSafeRefCount();
 	LLThreadSafeRefCount(const LLThreadSafeRefCount&);
-	LLThreadSafeRefCount&operator=(const LLThreadSafeRefCount& ref) 
+	LLThreadSafeRefCount& operator=(const LLThreadSafeRefCount& ref) 
 	{
 		if (sMutex)
 		{
 		{
 			sMutex->unlock();
 		}
+		return *this;
 	}