1. Pypy
  2. Untitled project
  3. pypy

Commits

Stanisław Halik  committed 7992ae7

Add missing return value (by amaury)

  • Participants
  • Parent commits 4843dc2
  • Branches default

Comments (0)

Files changed (1)

File rpython/translator/c/src/thread_nt.c

View file
  • Ignore whitespace
 BOOL InitializeNonRecursiveMutex(PNRMUTEX mutex)
 {
     mutex->sem = CreateSemaphore(NULL, 1, 1, NULL);
+    return !!mutex->sem;
 }
 
 VOID DeleteNonRecursiveMutex(PNRMUTEX mutex)