]> granicus.if.org Git - curl/commitdiff
easy.c: Fixed compilation warning when no verbose string support
authorSteve Holme <steve_holme@hotmail.com>
Sun, 16 Nov 2014 18:16:27 +0000 (18:16 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Sun, 16 Nov 2014 18:21:03 +0000 (18:21 +0000)
warning: unused parameter 'easy'

lib/easy.c

index 5f14fede3217d98575f38eb63608a04bc473399a..b547d1dbed4a952f7cd1174f43660cf1a43706d9 100644 (file)
@@ -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;