From e9976877d57c167a78c1eaae6ae344dd348e5792 Mon Sep 17 00:00:00 2001 From: Michael Poole Date: Tue, 31 Jul 2007 14:55:47 -0400 Subject: [PATCH] Add variable reference to quash gcc warning with -DNDEBUG. --- src/mail-smtp.c | 1 + 1 file changed, 1 insertion(+) 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) -- 2.20.1