From ab010e161f5877f99a3122bf2726f3a40ceb3204 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sun, 25 Nov 2007 21:32:15 +0000 Subject: [PATCH] r14952@tombo: nickm | 2007-11-25 14:47:45 -0500 Fix an unused variable warning. svn:r549 --- signal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.40.0