aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/easy.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/easy.c b/lib/easy.c
index 5f14fede3..b547d1dbe 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;