From bfb95b39ddaeb651f7d924747d3245f55f8c20fd Mon Sep 17 00:00:00 2001 From: Tom Henderson Date: Mon, 17 Aug 2015 15:31:27 -0700 Subject: [PATCH] fix maybe-uninitialized warning --- src/mesh/model/dot11s/peer-management-protocol-mac.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesh/model/dot11s/peer-management-protocol-mac.cc b/src/mesh/model/dot11s/peer-management-protocol-mac.cc index 74073f358..f4acc99ad 100644 --- a/src/mesh/model/dot11s/peer-management-protocol-mac.cc +++ b/src/mesh/model/dot11s/peer-management-protocol-mac.cc @@ -82,7 +82,7 @@ PeerManagementProtocolMac::Receive (Ptr const_packet, const WifiMacHeade // Beacon shall not be dropped. May be needed to another plugins return true; } - uint16_t aid; + uint16_t aid = 0; // applicable only in Confirm message IeConfiguration config; if (header.IsAction ()) {