From 968869a100a9b9634776ac4f07074cce97319be1 Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Fri, 29 Jun 2018 09:16:18 +0200 Subject: Removed not used member * ACE/ace/Timer_Wheel_T.cpp: --- ACE/ace/Timer_Wheel_T.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/ACE/ace/Timer_Wheel_T.cpp b/ACE/ace/Timer_Wheel_T.cpp index 7fd6f68f6bd..5c55346187c 100644 --- a/ACE/ace/Timer_Wheel_T.cpp +++ b/ACE/ace/Timer_Wheel_T.cpp @@ -311,20 +311,6 @@ ACE_Timer_Wheel_T::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 ((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 (); -- cgit v1.2.1