소스 검색

bugfix for lock_release when no threads

Nicolas Cannasse 6 년 전
부모
커밋
f60652390f
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      src/std/thread.c

+ 0 - 1
src/std/thread.c

@@ -383,7 +383,6 @@ HL_PRIM hl_lock *hl_lock_create() {
 
 HL_PRIM void hl_lock_release( hl_lock *l ) {
 #	if !defined(HL_THREADS)
-	return true;
 #	elif defined(HL_WIN)
 	ReleaseSemaphore(l->wait,1,NULL);
 #	else