summaryrefslogtreecommitdiff
path: root/docs/examples/ephiperfifo.c
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/ephiperfifo.c')
-rw-r--r--docs/examples/ephiperfifo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/ephiperfifo.c b/docs/examples/ephiperfifo.c
index a8dda2a4e..a4b90fe4f 100644
--- a/docs/examples/ephiperfifo.c
+++ b/docs/examples/ephiperfifo.c
@@ -148,7 +148,6 @@ static void timer_cb(GlobalInfo* g, int revents);
static int multi_timer_cb(CURLM *multi, long timeout_ms, GlobalInfo *g)
{
struct itimerspec its;
- CURLMcode rc;
fprintf(MSG_OUT, "multi_timer_cb: Setting timeout to %ld ms\n", timeout_ms);
@@ -341,7 +340,8 @@ static size_t write_cb(void *ptr _Unused, size_t size, size_t nmemb,
void *data)
{
size_t realsize = size * nmemb;
- ConnInfo *conn _Unused = (ConnInfo*) data;
+ (void)_Unused;
+ (void)data;
return realsize;
}