From: Nick Mathewson Date: Sun, 25 Nov 2007 21:32:15 +0000 (+0000) Subject: r14952@tombo: nickm | 2007-11-25 14:47:45 -0500 X-Git-Tag: release-2.0.1-alpha~486 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ab010e161f5877f99a3122bf2726f3a40ceb3204;p=libevent r14952@tombo: nickm | 2007-11-25 14:47:45 -0500 Fix an unused variable warning. svn:r549 --- diff --git a/signal.c b/signal.c index ae07850d..90f915e1 100644 --- a/signal.c +++ b/signal.c @@ -72,12 +72,12 @@ static void evsignal_cb(int fd, short what, void *arg) { static char signals[100]; - struct event *ev = arg; #ifdef WIN32 SSIZE_T n; #else ssize_t n; #endif + (void)arg; /* Suppress "unused variable" warning. */ n = recv(fd, signals, sizeof(signals), 0); if (n == -1)