Skip to content

Commit

Permalink
easy.c: Fixed compilation warning when no verbose string support
Browse files Browse the repository at this point in the history
warning: unused parameter 'easy'
  • Loading branch information
captain-caveman2k committed Nov 16, 2014
1 parent 4be80d5 commit 591d5ca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/easy.c
Expand Up @@ -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;
Expand Down

0 comments on commit 591d5ca

Please sign in to comment.