From: Michael Poole Date: Tue, 31 Jul 2007 18:55:47 +0000 (-0400) Subject: Add variable reference to quash gcc warning with -DNDEBUG. X-Git-Tag: v1.4.0-rc1~1 X-Git-Url: http://git.pk910.de/?p=srvx.git;a=commitdiff_plain;h=e9976877d57c167a78c1eaae6ae344dd348e5792 Add variable reference to quash gcc warning with -DNDEBUG. --- diff --git a/src/mail-smtp.c b/src/mail-smtp.c index 85b68d9..13a6c38 100644 --- a/src/mail-smtp.c +++ b/src/mail-smtp.c @@ -383,6 +383,7 @@ static void mail_destroyed(struct io_fd *fd) assert(smtp_fd == fd); smtp_state = CLOSED; smtp_fd = NULL; + (void)fd; /* in case NDEBUG causes assert() to be empty */ } static void mail_connected(struct io_fd *fd, int error)