fix unused variable error in Release build

This commit is contained in:
Karol Majek
2020-02-04 13:31:23 +01:00
parent f5eaa30bc8
commit c01ff92260
+1 -2
View File
@@ -82,8 +82,7 @@ void IOLoop::RemoveDelegate(apr_socket_t *sock, IOLoopDelegate *) {
} }
void IOLoop::RemoveDelegateSync(apr_socket_t *sock) { 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_, apr_os_thread_current()));
assert(apr_os_thread_equal(this->thread_id_, thread_id));
RemoveDelegateAsync(sock); RemoveDelegateAsync(sock);
} }