From 591d5ca41b7b7a9c5fb2af1d315b7657dc0fb3c1 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 16 Nov 2014 18:16:27 +0000 Subject: [PATCH] easy.c: Fixed compilation warning when no verbose string support warning: unused parameter 'easy' --- lib/easy.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/easy.c b/lib/easy.c index 5f14fede3217d9..b547d1dbed4a95 100644 --- a/lib/easy.c +++ b/lib/easy.c @@ -491,6 +491,10 @@ static int events_socket(CURL *easy, /* easy handle */ struct events *ev = userp; struct socketmonitor *m; struct socketmonitor *prev=NULL; + +#if defined(CURL_DISABLE_VERBOSE_STRINGS) + (void) easy; +#endif (void)socketp; m = ev->list;