diff options
author | Marcel Raad <raad@teamviewer.com> | 2017-04-25 08:36:13 +0200 |
---|---|---|
committer | Marcel Raad <raad@teamviewer.com> | 2017-04-26 10:01:53 +0200 |
commit | b85142164228abe15d6ca20a244ffb849c700e6c (patch) | |
tree | d502a7a9fb8d72fdbc09630c970ef7dc9d2cb852 /lib/url.c | |
parent | 55c3c02e59d1daf31ec2097f93b8139ddb3fdeb6 (diff) | |
download | curl-b85142164228abe15d6ca20a244ffb849c700e6c.tar.gz |
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
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 */ |