projects
/
srvx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e80659
)
Add variable reference to quash gcc warning with -DNDEBUG.
author
Michael Poole
<mdpoole@troilus.org>
Tue, 31 Jul 2007 18:55:47 +0000
(14:55 -0400)
committer
Michael Poole
<mdpoole@troilus.org>
Tue, 31 Jul 2007 18:55:47 +0000
(14:55 -0400)
src/mail-smtp.c
patch
|
blob
|
history
diff --git
a/src/mail-smtp.c
b/src/mail-smtp.c
index 85b68d9f2be9b53147e637b502f046deb4fd4250..13a6c383d7969a9ee305e6fedc3b47460f895f3f 100644
(file)
--- 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)