diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-05-04 23:56:18 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-05-04 23:56:18 +0200 |
commit | dc15a88076c82aabfd0340bc2eb4ef4086b38cb4 (patch) | |
tree | 65a361326d07ba998b08b15506e946e09972ea69 | |
parent | adae5926dd55290214473db37cb2e905e692f0a6 (diff) |
ConnectionStore: remove unused return code
-rw-r--r-- | lib/url.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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 |