fix maybe-uninitialized warning
authorTom Henderson <tomh@tomh.org>
Mon, 17 Aug 2015 15:31:27 -0700
changeset 11592 51381c97c0d6
parent 11591 400d72ce0f21
child 11593 618f175cdc43
fix maybe-uninitialized warning
src/mesh/model/dot11s/peer-management-protocol-mac.cc
--- a/src/mesh/model/dot11s/peer-management-protocol-mac.cc	Mon Aug 17 14:52:57 2015 -0700
+++ b/src/mesh/model/dot11s/peer-management-protocol-mac.cc	Mon Aug 17 15:31:27 2015 -0700
@@ -82,7 +82,7 @@
       // 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 ())
     {