From 0df2e9ce6a00cd01b82cd0c803e67c74e72c588f Mon Sep 17 00:00:00 2001 From: crs Date: Tue, 3 Aug 2004 21:14:30 +0000 Subject: [PATCH] Fixed warnings in deployment build style on OS X. --- lib/arch/CArchMultithreadPosix.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/arch/CArchMultithreadPosix.cpp b/lib/arch/CArchMultithreadPosix.cpp index 1ccbeed2..26bb0f5a 100644 --- a/lib/arch/CArchMultithreadPosix.cpp +++ b/lib/arch/CArchMultithreadPosix.cpp @@ -179,6 +179,7 @@ CArchMultithreadPosix::newCondVar() { CArchCondImpl* cond = new CArchCondImpl; int status = pthread_cond_init(&cond->m_cond, NULL); + (void)status; assert(status == 0); return cond; } @@ -187,6 +188,7 @@ void CArchMultithreadPosix::closeCondVar(CArchCond cond) { int status = pthread_cond_destroy(&cond->m_cond); + (void)status; assert(status == 0); delete cond; } @@ -195,6 +197,7 @@ void CArchMultithreadPosix::signalCondVar(CArchCond cond) { int status = pthread_cond_signal(&cond->m_cond); + (void)status; assert(status == 0); } @@ -202,6 +205,7 @@ void CArchMultithreadPosix::broadcastCondVar(CArchCond cond) { int status = pthread_cond_broadcast(&cond->m_cond); + (void)status; assert(status == 0); } @@ -309,6 +313,7 @@ void CArchMultithreadPosix::closeMutex(CArchMutex mutex) { int status = pthread_mutex_destroy(&mutex->m_mutex); + (void)status; assert(status == 0); delete mutex; }