[vlc-devel] commit: Grmbl. Remove the stupid assert after merging commits. ( Rémi Denis-Courmont )
git version control
git at videolan.org
Wed Sep 10 17:16:02 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Wed Sep 10 18:19:13 2008 +0300| [0ed09d332a10abd80227e321ea0c0584b5519778] | committer: Rémi Denis-Courmont
Grmbl. Remove the stupid assert after merging commits.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0ed09d332a10abd80227e321ea0c0584b5519778
---
src/misc/threads.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/misc/threads.c b/src/misc/threads.c
index e4eeaf8..df0a2bf 100644
--- a/src/misc/threads.c
+++ b/src/misc/threads.c
@@ -383,8 +383,7 @@ void vlc_mutex_unlock (vlc_mutex_t *p_mutex)
}
/* We release the mutex */
- DWORD self = InterlockedExchange (&p_mutex->owner, 0);
- assert (self == 0);
+ InterlockedExchange (&p_mutex->owner, 0);
/* fall through */
}
LeaveCriticalSection (&p_mutex->mutex);
More information about the vlc-devel
mailing list