diff options
author | 2012-10-11 21:47:48 +0000 | |
---|---|---|
committer | 2012-10-11 21:47:48 +0000 | |
commit | 69eaa80e67ae1501456304d170a8b90134c09afc (patch) | |
tree | e6fb483b032189c2f3f19611d32ab963825bdcc4 | |
parent | - map_create() takes a map_src not a map_kind (diff) | |
download | wireguard-openbsd-69eaa80e67ae1501456304d170a8b90134c09afc.tar.xz wireguard-openbsd-69eaa80e67ae1501456304d170a8b90134c09afc.zip |
- remove dead store
spotted by clang
-rw-r--r-- | usr.sbin/smtpd/envelope.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/smtpd/envelope.c b/usr.sbin/smtpd/envelope.c index 3bdccfea86c..ab390513507 100644 --- a/usr.sbin/smtpd/envelope.c +++ b/usr.sbin/smtpd/envelope.c @@ -1,4 +1,4 @@ -/* $OpenBSD: envelope.c,v 1.14 2012/09/26 19:52:20 eric Exp $ */ +/* $OpenBSD: envelope.c,v 1.16 2012/10/11 21:49:11 gilles Exp $ */ /* * Copyright (c) 2011 Gilles Chehade <gilles@openbsd.org> @@ -690,17 +690,17 @@ ascii_dump_mta_relay_flags(uint8_t flags, char *buf, size_t len) cpylen = strlcat(buf, "smtps", len); if (flags & F_STARTTLS) { if (buf[0] != '\0') - cpylen = strlcat(buf, " ", len); + strlcat(buf, " ", len); cpylen = strlcat(buf, "tls", len); } if (flags & F_AUTH) { if (buf[0] != '\0') - cpylen = strlcat(buf, " ", len); + strlcat(buf, " ", len); cpylen = strlcat(buf, "auth", len); } if (flags & F_BACKUP) { if (buf[0] != '\0') - cpylen = strlcat(buf, " ", len); + strlcat(buf, " ", len); cpylen = strlcat(buf, "backup", len); } } @@ -719,12 +719,12 @@ ascii_dump_flags(enum delivery_flags flags, char *buf, size_t len) cpylen = strlcat(buf, "authenticated", len); if (flags & DF_BOUNCE) { if (buf[0] != '\0') - cpylen = strlcat(buf, " ", len); + strlcat(buf, " ", len); cpylen = strlcat(buf, "bounce", len); } if (flags & DF_INTERNAL) { if (buf[0] != '\0') - cpylen = strlcat(buf, " ", len); + strlcat(buf, " ", len); cpylen = strlcat(buf, "internal", len); } } |