提交 77e8a232 编写于 作者: Z zeliard 提交者: Enrico Giordani

[PR] Fix: add break stmt in switch-case.

上级 aa9367d8
......@@ -92,8 +92,10 @@ int win32_pthread_join(pthread_t *thread, void **value_ptr) {
switch (WaitForSingleObject(h, INFINITE)) {
case WAIT_OBJECT_0:
result = 0;
break;
case WAIT_ABANDONED:
result = EINVAL;
break;
default:
result = GetLastError();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册