Merge pull request #28 from karolmajek/master

fix unused variable error in Release build
This commit is contained in:
livox
2020-02-06 22:35:31 +08:00
committed by GitHub
+1 -2
View File
@@ -82,8 +82,7 @@ void IOLoop::RemoveDelegate(apr_socket_t *sock, IOLoopDelegate *) {
}
void IOLoop::RemoveDelegateSync(apr_socket_t *sock) {
apr_os_thread_t thread_id = apr_os_thread_current();
assert(apr_os_thread_equal(this->thread_id_, thread_id));
assert(apr_os_thread_equal(this->thread_id_, apr_os_thread_current()));
RemoveDelegateAsync(sock);
}