From b85142164228abe15d6ca20a244ffb849c700e6c Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Tue, 25 Apr 2017 08:36:13 +0200 Subject: lib: remove unused code This fixes the following clang warnings: macro is not used [-Wunused-macros] will never be executed [-Wunreachable-code] Closes https://github.com/curl/curl/pull/1448 --- lib/url.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/url.c') diff --git a/lib/url.c b/lib/url.c index 6795a9c8f..f5998d6b1 100644 --- a/lib/url.c +++ b/lib/url.c @@ -2935,8 +2935,7 @@ static void conn_reset_all_postponed_data(struct connectdata *conn) conn_reset_postponed_data(conn, 1); } #else /* ! USE_RECV_BEFORE_SEND_WORKAROUND */ -/* Use "do-nothing" macros instead of functions when workaround not used */ -#define conn_reset_postponed_data(c,n) do {} WHILE_FALSE +/* Use "do-nothing" macro instead of function when workaround not used */ #define conn_reset_all_postponed_data(c) do {} WHILE_FALSE #endif /* ! USE_RECV_BEFORE_SEND_WORKAROUND */ -- cgit v1.2.1