From 8c6b7d311c123bdddfc806359f1fd6b444245914 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Sat, 19 Dec 2009 12:34:06 -0800 Subject: [PATCH] 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. --- lib/notmuch-private.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/notmuch-private.h b/lib/notmuch-private.h index 116f63d6..b9566340 100644 --- a/lib/notmuch-private.h +++ b/lib/notmuch-private.h @@ -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 -- 2.26.2