Browse Source

[2650] Remove unused member variable

Mukund Sivaraman 12 years ago
parent
commit
aeda8e4862
2 changed files with 0 additions and 2 deletions
  1. 0 1
      src/lib/asiodns/tcp_server.cc
  2. 0 1
      src/lib/asiodns/tcp_server.h

+ 0 - 1
src/lib/asiodns/tcp_server.cc

@@ -184,7 +184,6 @@ TCPServer::operator()(asio::error_code ec, size_t length) {
         // provides the appropriate operator() but is otherwise functionless.
         iosock_.reset(new TCPSocket<DummyIOCallback>(*socket_));
         io_message_.reset(new IOMessage(data_.get(), length, *iosock_, *peer_));
-        bytes_ = length;
 
         // Perform any necessary operations prior to processing the incoming
         // packet (e.g., checking for queued configuration messages).

+ 0 - 1
src/lib/asiodns/tcp_server.h

@@ -122,7 +122,6 @@ private:
 
     // State information that is entirely internal to a given instance
     // of the coroutine can be declared here.
-    size_t bytes_;
     bool done_;
 
     // Callback functions provided by the caller