lib/message: mark flag2tag as const

This table is intended to be immutable
This commit is contained in:
David Bremner 2021-05-11 22:58:55 -03:00
parent 929386fad9
commit b1b6798588

View file

@ -68,7 +68,7 @@ struct maildir_flag_tag {
}; };
/* ASCII ordered table of Maildir flags and associated tags */ /* 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 }, { 'D', "draft", false },
{ 'F', "flagged", false }, { 'F', "flagged", false },
{ 'P', "passed", false }, { 'P', "passed", false },