summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-12-19 09:19:51 +0100
committerDaniel Stenberg <daniel@haxx.se>2016-12-19 09:20:54 +0100
commit21a7a96c9030c0ac69a5af3c5bbc70f4b251877a (patch)
treeaae8b3d2b1f7667eb4f64a2d96309fcc2b8a2a71
parentc2402b6e02c6de2e4be0f87fd094da8e24d81d87 (diff)
downloadcurl-21a7a96c9030c0ac69a5af3c5bbc70f4b251877a.tar.gz
Curl_recv_has_postponed_data: silence compiler warnings
Follow-up to d00f2a8f2
-rw-r--r--lib/sendf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sendf.c b/lib/sendf.c
index c3458a2b6..760169782 100644
--- a/lib/sendf.c
+++ b/lib/sendf.c
@@ -210,6 +210,8 @@ static ssize_t get_pre_recved(struct connectdata *conn, int num, char *buf,
/* Use "do-nothing" macros instead of functions when workaround not used */
bool Curl_recv_has_postponed_data(struct connectdata *conn, int sockindex)
{
+ (void)conn;
+ (void)sockindex;
return false;
}
#define pre_receive_plain(c,n) do {} WHILE_FALSE