~singpolyma/biboumi

ae445f0e599fc73559248595af06c9f04189f44b — louiz’ 7 years ago 4ab3cd6
Remove an unused variable
1 files changed, 1 insertions(+), 2 deletions(-)

M louloulibs/network/tcp_client_socket_handler.cpp
M louloulibs/network/tcp_client_socket_handler.cpp => louloulibs/network/tcp_client_socket_handler.cpp +1 -2
@@ 43,10 43,9 @@ void TCPClientSocketHandler::init_socket(const struct addrinfo* rp)
        {
          utils::ScopeGuard sg([result](){ freeaddrinfo(result); });
          struct addrinfo* rp;
          int bind_error = 0;
          for (rp = result; rp; rp = rp->ai_next)
            {
              if ((bind_error = ::bind(this->socket,
              if ((::bind(this->socket,
                         reinterpret_cast<const struct sockaddr*>(rp->ai_addr),
                         rp->ai_addrlen)) == 0)
                break;