From b1b679858868d1a004b67a1a6eccb6c9d3f755e9 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Tue, 11 May 2021 22:58:55 -0300 Subject: [PATCH] lib/message: mark flag2tag as const This table is intended to be immutable --- lib/message.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/message.cc b/lib/message.cc index 42d56acb..7af6ab82 100644 --- a/lib/message.cc +++ b/lib/message.cc @@ -68,7 +68,7 @@ struct maildir_flag_tag { }; /* ASCII ordered table of Maildir flags and associated tags */ -static struct maildir_flag_tag flag2tag[] = { +static const struct maildir_flag_tag flag2tag[] = { { 'D', "draft", false }, { 'F', "flagged", false }, { 'P', "passed", false }, -- 2.43.0