Build fix for g++ 4.0.4 ('... may be used uninitialized in this function')

This commit is contained in:
Pavel Boyko committed 2009-09-16 13:28:06 +04:00
1 parent 865279bd09
commit 11b6f74f26
1 file changed
+1 -1
@@ -241,7 +241,7 @@ PeerManagementProtocol::ReceivePeerLinkFrame (uint32_t interface, Mac48Address p
Ptr<PeerLink> peerLink = FindPeerLink (interface, peerAddress);
if (peerManagementElement.SubtypeIsOpen ())
{
PmpReasonCode reasonCode;
PmpReasonCode reasonCode (REASON11S_RESERVED);
bool reject = !(ShouldAcceptOpen (interface, peerAddress, reasonCode));
if (peerLink == 0)
{