diff options
| author | David Bremner <david@tethera.net> | 2021-05-11 22:58:55 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-05-14 06:39:12 -0300 |
| commit | b1b679858868d1a004b67a1a6eccb6c9d3f755e9 (patch) | |
| tree | 59781d5064dc67979498c63b9ef39b8ae8b13c3e /lib/message.cc | |
| parent | 929386fad90eed7dad8b32f457020c57a786d288 (diff) | |
lib/message: mark flag2tag as const
This table is intended to be immutable
Diffstat (limited to 'lib/message.cc')
| -rw-r--r-- | lib/message.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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 }, |
