Author: Stanislaw Halik <[email protected]>
Branch: 
Changeset: r62794:7992ae71c5c1
Date: 2013-03-26 05:18 +0100
http://bitbucket.org/pypy/pypy/changeset/7992ae71c5c1/

Log:    Add missing return value (by amaury)

diff --git a/rpython/translator/c/src/thread_nt.c 
b/rpython/translator/c/src/thread_nt.c
--- a/rpython/translator/c/src/thread_nt.c
+++ b/rpython/translator/c/src/thread_nt.c
@@ -105,6 +105,7 @@
 BOOL InitializeNonRecursiveMutex(PNRMUTEX mutex)
 {
     mutex->sem = CreateSemaphore(NULL, 1, 1, NULL);
+    return !!mutex->sem;
 }
 
 VOID DeleteNonRecursiveMutex(PNRMUTEX mutex)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to