[Coverity] Operands don't affect result (CONSTANT_EXPRESSION_RESULT)
authorPeter D. Barnes, Jr. <barnes26@llnl.gov>
Wed, 15 May 2013 16:37:31 -0400
changeset 9786 9f260d8a2508
parent 9785 97052ab05772
child 9787 c7e8ae541c12
[Coverity] Operands don't affect result (CONSTANT_EXPRESSION_RESULT)
src/uan/model/uan-mac-cw.cc
--- a/src/uan/model/uan-mac-cw.cc	Wed May 15 16:26:46 2013 -0400
+++ b/src/uan/model/uan-mac-cw.cc	Wed May 15 16:37:31 2013 -0400
@@ -123,7 +123,7 @@
     {
     case CCABUSY:
       NS_LOG_DEBUG ("Time " << Simulator::Now ().GetSeconds () << " MAC " << GetAddress () << " Starting enqueue CCABUSY");
-      if (m_txEndEvent.IsRunning () == TX)
+      if (m_txEndEvent.IsRunning ())
         {
           NS_LOG_DEBUG ("State is TX");
         }