From: Daniel Stenberg Date: Wed, 4 May 2011 21:56:18 +0000 (+0200) Subject: ConnectionStore: remove unused return code X-Git-Tag: curl-7_21_7~131 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dc15a88076c82aabfd0340bc2eb4ef4086b38cb4;p=curl ConnectionStore: remove unused return code --- diff --git a/lib/url.c b/lib/url.c index fa0557711..1a605c52a 100644 --- a/lib/url.c +++ b/lib/url.c @@ -3085,9 +3085,8 @@ 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, - struct connectdata *conn) +static void ConnectionStore(struct SessionHandle *data, + struct connectdata *conn) { long i; for(i=0; i< data->state.connc->num; 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