summaryrefslogtreecommitdiff
path: root/ACE/ace
diff options
context:
space:
mode:
authorLike Ma <likemartinma@gmail.com>2021-01-13 19:44:24 +0800
committerLike Ma <likemartinma@gmail.com>2021-01-13 19:49:28 +0800
commitd68368bb100e030f10ff804f45c9ef39cdddb310 (patch)
tree27d074443dfdb60ec0c93cfff07d0d3b9496f2d2 /ACE/ace
parent1014cf0db8f6e66088a07359ceea06d6f07e3a98 (diff)
downloadATCD-d68368bb100e030f10ff804f45c9ef39cdddb310.tar.gz
Fix unused variable reactor_resumes_eh on Solaris 9.
It occurred on not only Solaris but also platforms with ACE_HAS_DEV_POLL.
Diffstat (limited to 'ACE/ace')
-rw-r--r--ACE/ace/Dev_Poll_Reactor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ACE/ace/Dev_Poll_Reactor.cpp b/ACE/ace/Dev_Poll_Reactor.cpp
index fbd9b4485f0..8229aafbe57 100644
--- a/ACE/ace/Dev_Poll_Reactor.cpp
+++ b/ACE/ace/Dev_Poll_Reactor.cpp
@@ -1178,7 +1178,9 @@ ACE_Dev_Poll_Reactor::dispatch_io_event (Token_Guard &guard)
ACE_Reactor_Mask disp_mask = 0;
ACE_Event_Handler *eh = 0;
int (ACE_Event_Handler::*callback)(ACE_HANDLE) = 0;
+#ifndef ACE_HAS_DEV_POLL
bool reactor_resumes_eh = false;
+#endif /* !ACE_HAS_DEV_POLL */
{
ACE_GUARD_RETURN (ACE_SYNCH_MUTEX, grd, this->repo_lock_, -1);
info = this->handler_rep_.find (handle);