fix optimized builds
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Fri, 26 Feb 2010 08:52:39 +0100
changeset 6079 e9b65f133d50
parent 6078 dadc420dc7e3
child 6081 bc98271320e7
fix optimized builds
src/devices/wifi/minstrel-wifi-manager.cc
--- a/src/devices/wifi/minstrel-wifi-manager.cc	Thu Feb 25 22:45:40 2010 +0300
+++ b/src/devices/wifi/minstrel-wifi-manager.cc	Fri Feb 26 08:52:39 2010 +0100
@@ -249,8 +249,7 @@
 MinstrelWifiManager::DoReportRxOk (WifiRemoteStation *st,
                                    double rxSnr, WifiMode txMode)
 {
-  MinstrelWifiRemoteStation *station = (MinstrelWifiRemoteStation *)st;
-  NS_LOG_DEBUG("DoReportRxOk m_txrate=" << station->m_txrate);
+  NS_LOG_DEBUG("DoReportRxOk m_txrate=" << ((MinstrelWifiRemoteStation *)st)->m_txrate);
 }
 
 void