summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2011-05-16 21:52:54 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2011-05-16 21:52:54 +0000
commitdcc913d477adbd50b32597bc319e7c05859d209c (patch)
treeccd4ef375e29a2e501479fd1f0382bff5ce7cec5 /usr.sbin
parent9bc6aa0c5e6a7a7a9b3a7a66269ccf5e323d23f2 (diff)
remove useless assignation
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/smtpd/lka_session.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/lka_session.c b/usr.sbin/smtpd/lka_session.c
index f93adff8b71..5de03d265f4 100644
--- a/usr.sbin/smtpd/lka_session.c
+++ b/usr.sbin/smtpd/lka_session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lka_session.c,v 1.2 2011/05/16 21:42:03 gilles Exp $ */
+/* $OpenBSD: lka_session.c,v 1.3 2011/05/16 21:52:53 gilles Exp $ */
/*
* Copyright (c) 2011 Gilles Chehade <gilles@openbsd.org>
@@ -218,7 +218,6 @@ lka_session_pickup(struct lka_session *lks, struct envelope *ep)
* we need to be interruptible in case lka_session_resume()
* has sent an imsg and expects an answer.
*/
- ret = 0;
while (! (lks->flags & F_ERROR) &&
! lks->pending && lks->iterations < 5) {
++lks->iterations;