r14952@tombo: nickm | 2007-11-25 14:47:45 -0500

Fix an unused variable warning.


svn:r549
This commit is contained in:
Nick Mathewson 2007-11-25 21:32:15 +00:00
parent d1ad9403cb
commit ab010e161f

View File

@ -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)