From 422a3fca7fb209aceade1992798acfc4cb92db22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vedran=20Mileti=C4=87?= Date: Thu, 4 Aug 2016 12:02:27 +0200 Subject: [PATCH] Fix building with Clang in optimized mode --- examples/wireless/wifi-spectrum-saturation-example.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/wireless/wifi-spectrum-saturation-example.cc b/examples/wireless/wifi-spectrum-saturation-example.cc index 4dedf2979..a3a79e7ae 100644 --- a/examples/wireless/wifi-spectrum-saturation-example.cc +++ b/examples/wireless/wifi-spectrum-saturation-example.cc @@ -92,7 +92,7 @@ int main (int argc, char *argv[]) double distance = 1; double simulationTime = 10; //seconds uint16_t index = 256; - uint32_t channelWidth; + uint32_t channelWidth = 0; std::string wifiType = "ns3::SpectrumWifiPhy"; std::string errorModelType = "ns3::NistErrorRateModel"; bool enablePcap = false;