summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2018-06-29 09:16:18 +0200
committerSteve Huston <shuston@riverace.com>2018-07-09 17:14:46 -0400
commita9eab69d89935ac9513387e857ff7a1f710cc008 (patch)
tree50d7f60c68b337425625308ab665b363ba1bb5e1
parenta8af41fcebbb8fbdd4492dc260340f19d5570db5 (diff)
downloadATCD-Riverace-6.3.tar.gz
Removed not used memberRiverace-6.3
* ACE/ace/Timer_Wheel_T.cpp:
-rw-r--r--ACE/ace/Timer_Wheel_T.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/ACE/ace/Timer_Wheel_T.cpp b/ACE/ace/Timer_Wheel_T.cpp
index 8a2491f3a32..bd54c2a620b 100644
--- a/ACE/ace/Timer_Wheel_T.cpp
+++ b/ACE/ace/Timer_Wheel_T.cpp
@@ -313,20 +313,6 @@ ACE_Timer_Wheel_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::generate_timer_id (u_in
if (root == root->get_next ())
root->set_act(0);
- // We use this field to keep track of the next counter value that
- // may be in use. Of course it may have expired, so we just use
- // this field so that we know when we don't have to check for duplicates
-#if defined (ACE_WIN64)
- // The cast below is legit... we know that long is shorter than a
- // pointer, but are only using it as a 'long' storage area.
-# pragma warning(push)
-# pragma warning(disable : 4311)
-#endif /* ACE_WIN64 */
- long next_cnt = ACE_Utils::truncate_cast<long> ((intptr_t)root->get_act ());
-#if defined (ACE_WIN64)
-# pragma warning(pop)
-#endif /* ACE_WIN64 */
-
// This field is used as a counter instead of a timer_id.
long cnt = root->get_timer_id ();