From 82f915fd5abb8e2ed03357a3ba7ba0c48b3a9be0 Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Thu, 16 Jul 2009 13:40:56 +0200 Subject: [PATCH] fix optimized build for true --- src/devices/wifi/interference-helper.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/devices/wifi/interference-helper.cc b/src/devices/wifi/interference-helper.cc index f1d1ae1b4..c375d095e 100644 --- a/src/devices/wifi/interference-helper.cc +++ b/src/devices/wifi/interference-helper.cc @@ -372,8 +372,11 @@ InterferenceHelper::GetPayloadDurationMicroSeconds (uint32_t size, WifiMode payl case WIFI_PHY_STANDARD_80211b: NS_FATAL_ERROR("can't happen here"); symbolDurationUs = 0; // quiet compiler + break; default: NS_FATAL_ERROR("unknown standard"); + symbolDurationUs = 0; // quiet compiler + break; } // IEEE Std 802.11-2007, section 17.3.2.2, table 17-3