summaryrefslogtreecommitdiff
path: root/usr.bin/mail
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2021-09-10 21:52:17 +0000
committerrillig <rillig@NetBSD.org>2021-09-10 21:52:17 +0000
commit6a8b577c0634b834c96c8b855d49ecd2bd1ec92c (patch)
tree6dee522cee24e21625e6bb434648b378457df68f /usr.bin/mail
parentc724bb8078cc9c46f40f94728e89f72a35951f6b (diff)
usr.bin: remove unnecessary lint comment CONSTCOND
Since 2021-01-31, lint no longer warns about 'do ... while (0)'. No functional change.
Diffstat (limited to 'usr.bin/mail')
-rw-r--r--usr.bin/mail/thread.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mail/thread.c b/usr.bin/mail/thread.c
index 7e0c63d463a..e4ae729a604 100644
--- a/usr.bin/mail/thread.c
+++ b/usr.bin/mail/thread.c
@@ -1,4 +1,4 @@
-/* $NetBSD: thread.c,v 1.10 2012/10/21 22:18:16 christos Exp $ */
+/* $NetBSD: thread.c,v 1.11 2021/09/10 21:52:18 rillig Exp $ */
/*-
* Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
#include <sys/cdefs.h>
#ifndef __lint__
-__RCSID("$NetBSD: thread.c,v 1.10 2012/10/21 22:18:16 christos Exp $");
+__RCSID("$NetBSD: thread.c,v 1.11 2021/09/10 21:52:18 rillig Exp $");
#endif /* not __lint__ */
#include <assert.h>
@@ -453,7 +453,7 @@ thread_fix_old_links(struct message *nmessage, struct message *message, int omsg
# define FIX_LINK(p) do {\
if (p)\
p = nmessage + (p - message);\
- } while (/*CONSTCOND*/0)
+ } while (0)
FIX_LINK(current_thread.t_head);
for (i = 0; i < omsgCount; i++) {