]> granicus.if.org Git - curl/commitdiff
Curl_recv_has_postponed_data: silence compiler warnings
authorDaniel Stenberg <daniel@haxx.se>
Mon, 19 Dec 2016 08:19:51 +0000 (09:19 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 19 Dec 2016 08:20:54 +0000 (09:20 +0100)
Follow-up to d00f2a8f2

lib/sendf.c

index c3458a2b61131ac6967dc5ba10b57b510623c564..76016978245055bba5630cdea3206fdd469b2bf4 100644 (file)
@@ -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