mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 10:58:10 +01:00
lib: Add missing value to notmuch_private_status_t enum.
And fix the initialization such that the private enum will always have distinct values from the public enum even if we similarly miss the addition of a new public value in the future.
This commit is contained in:
parent
e1669b155c
commit
8c6b7d311c
1 changed files with 2 additions and 1 deletions
|
@ -117,9 +117,10 @@ typedef enum _notmuch_private_status {
|
|||
NOTMUCH_PRIVATE_STATUS_FILE_NOT_EMAIL = NOTMUCH_STATUS_FILE_NOT_EMAIL,
|
||||
NOTMUCH_PRIVATE_STATUS_NULL_POINTER = NOTMUCH_STATUS_NULL_POINTER,
|
||||
NOTMUCH_PRIVATE_STATUS_TAG_TOO_LONG = NOTMUCH_STATUS_TAG_TOO_LONG,
|
||||
NOTMUCH_PRIVATE_STATUS_UNBALANCED_FREEZE_THAW = NOTMUCH_STATUS_UNBALANCED_FREEZE_THAW,
|
||||
|
||||
/* Then add our own private values. */
|
||||
NOTMUCH_PRIVATE_STATUS_TERM_TOO_LONG,
|
||||
NOTMUCH_PRIVATE_STATUS_TERM_TOO_LONG = NOTMUCH_STATUS_LAST_STATUS,
|
||||
NOTMUCH_PRIVATE_STATUS_NO_DOCUMENT_FOUND,
|
||||
|
||||
NOTMUCH_PRIVATE_STATUS_LAST_STATUS
|
||||
|
|
Loading…
Reference in a new issue