Index: src/wifi/model/wifi-information-element-vector.cc |
=================================================================== |
--- a/src/wifi/model/wifi-information-element-vector.cc |
+++ b/src/wifi/model/wifi-information-element-vector.cc |
@@ -19,6 +19,7 @@ |
*/ |
#include "wifi-information-element-vector.h" |
+#include "ns3/unused.h" |
namespace ns3 { |
@@ -72,6 +73,7 @@ |
uint32_t |
WifiInformationElementVector::Deserialize (Buffer::Iterator start) |
{ |
+ NS_UNUSED(start); |
NS_FATAL_ERROR ("This variant should not be called on a variable-sized header"); |
return 0; |
} |
@@ -103,6 +105,7 @@ |
Ptr<WifiInformationElement> newElement; |
switch (id) |
{ |
+ case 0: // eliminate compiler warning |
S. Deronne
2018/02/18 14:52:56
OK
|
default: |
NS_FATAL_ERROR ("Information element " << static_cast<uint16_t> (id) << " is not implemented"); |
return 0; |