transport: Remove unused member elementListener_.
diff --git a/src/transport/udp-transport.cpp b/src/transport/udp-transport.cpp
index 2d4a902..c8def39 100644
--- a/src/transport/udp-transport.cpp
+++ b/src/transport/udp-transport.cpp
@@ -22,7 +22,7 @@
}
UdpTransport::UdpTransport()
- : elementListener_(0), isConnected_(false), transport_(new struct ndn_UdpTransport), elementReader_(new struct ndn_BinaryXmlElementReader)
+ : isConnected_(false), transport_(new struct ndn_UdpTransport), elementReader_(new struct ndn_BinaryXmlElementReader)
{
ndn_UdpTransport_initialize(transport_.get());
elementReader_->partialData.array = 0;
@@ -44,7 +44,6 @@
(elementReader_.get(), &elementListener, (uint8_t *)malloc(initialLength), initialLength, ndn_realloc);
isConnected_ = true;
- elementListener_ = &elementListener;
}
void