summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-01-01 03:21:36 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-01-01 03:21:36 +0000
commitb977d121f1414c4d5d7e88423d3773051da73a1a (patch)
tree74183c428c0b9439060c7a31725ccb16de930c0a /examples
parent7993a448168987cf75824ba75d2934a073e07d56 (diff)
downloadATCD-b977d121f1414c4d5d7e88423d3773051da73a1a.tar.gz
(handle_close): added ACE_UNUSED_ARG (handle)
Diffstat (limited to 'examples')
-rw-r--r--examples/Reactor/Dgram/CODgram.cpp4
-rw-r--r--examples/Reactor/Dgram/Dgram.cpp4
2 files changed, 6 insertions, 2 deletions
diff --git a/examples/Reactor/Dgram/CODgram.cpp b/examples/Reactor/Dgram/CODgram.cpp
index 3499914ff7d..21dd157e49f 100644
--- a/examples/Reactor/Dgram/CODgram.cpp
+++ b/examples/Reactor/Dgram/CODgram.cpp
@@ -24,7 +24,7 @@ public:
const void *arg = 0);
virtual int handle_close (ACE_HANDLE handle,
- ACE_Reactor_Mask close_mask);
+ ACE_Reactor_Mask close_mask);
int send (const char *buf, size_t len);
// Send the <buf> to the peer.
@@ -44,6 +44,8 @@ int
Dgram_Endpoint::handle_close (ACE_HANDLE handle,
ACE_Reactor_Mask)
{
+ ACE_UNUSED_ARG (handle);
+
this->endpoint_.close ();
return 0;
}
diff --git a/examples/Reactor/Dgram/Dgram.cpp b/examples/Reactor/Dgram/Dgram.cpp
index fa27ac60b1e..33e306c4af4 100644
--- a/examples/Reactor/Dgram/Dgram.cpp
+++ b/examples/Reactor/Dgram/Dgram.cpp
@@ -22,7 +22,7 @@ public:
virtual int handle_timeout (const ACE_Time_Value & tv,
const void *arg = 0);
virtual int handle_close (ACE_HANDLE handle,
- ACE_Reactor_Mask close_mask);
+ ACE_Reactor_Mask close_mask);
int send (const char *buf, size_t len, const ACE_INET_Addr &);
// Send the <buf> to the peer.
@@ -53,6 +53,8 @@ int
Dgram_Endpoint::handle_close (ACE_HANDLE handle,
ACE_Reactor_Mask)
{
+ ACE_UNUSED_ARG (handle);
+
this->endpoint_.close ();
return 0;
}