Commit dc15a880 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

ConnectionStore: remove unused return code

parent adae5926
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -3085,8 +3085,7 @@ ConnectionDone(struct connectdata *conn)
 * The given connection should be unique. That must've been checked prior to
 * this call.
 */
static long
ConnectionStore(struct SessionHandle *data,
static void ConnectionStore(struct SessionHandle *data,
                            struct connectdata *conn)
{
  long i;
@@ -3121,8 +3120,6 @@ ConnectionStore(struct SessionHandle *data,
    data->state.connc->connects[i] = conn; /* fill in this */
    conn->data = data;
  }

  return i;
}

/* after a TCP connection to the proxy has been verified, this function does