summaryrefslogtreecommitdiffstats
path: root/hdrline.c
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2019-11-10 19:58:43 -0800
committerKevin McCarthy <kevin@8t8.us>2019-11-10 19:58:43 -0800
commit88f26048661bdae8341b07db2049370f8177df7d (patch)
tree65a7521c4974dd8dbbb3012e426225b08f1c43be /hdrline.c
parentaae2d87ab891529a4a0247bbce52367dc3aaf3a7 (diff)
Add gcc comments for fallthrough case statements.
Most of these were already commented. Change a few of them to a format gcc will recognize. In the future, we'll want to change to whatever is standardized.
Diffstat (limited to 'hdrline.c')
-rw-r--r--hdrline.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hdrline.c b/hdrline.c
index c83714f9..508e79d2 100644
--- a/hdrline.c
+++ b/hdrline.c
@@ -285,7 +285,7 @@ hdr_format_str (char *dest,
mutt_format_s (dest, destlen, prefix, mutt_addr_for_display (hdr->env->reply_to));
break;
}
- /* fall through if 'A' returns nothing */
+ /* fall through */
case 'a':
if (hdr->env->from && hdr->env->from->mailbox)
@@ -306,7 +306,7 @@ hdr_format_str (char *dest,
mutt_format_s (dest, destlen, prefix, buf2);
break;
}
- /* fall through if 'B' returns nothing */
+ /* fall through */
case 'b':
if (ctx)
@@ -775,8 +775,8 @@ hdr_format_str (char *dest,
src = end + 1;
break;
}
- /* otherwise fall through */
}
+ /* else fall through */
default:
snprintf (dest, destlen, "%%%s%c", prefix, op);