metartc / metaRTC

A cross-platform webRTC SDK
Apache License 2.0
837 stars 214 forks source link

void代码的作用 #75

Closed xueyoo closed 5 months ago

xueyoo commented 5 months ago

int yang_thread_join(yang_thread_t thread, void** value_ptr) { (void)value_ptr; return (WaitForSingleObject(thread, INFINITE) != WAIT_OBJECT_0 || CloseHandle(thread) == 0); }

(void)value_ptr; //这句代码是否没有起什么作用?