[Transaction.c] use is_unset static to denote uncached readonly_reason

tests in 128c8d6f88
This commit is contained in:
Christopher Lam
2021-09-25 00:09:47 +08:00
parent b8c9b1a6ce
commit d82bb7b8a2
3 changed files with 12 additions and 25 deletions

View File

@@ -114,11 +114,9 @@ struct transaction_s
/* The readonly_reason is a string that indicates why a transaction
* is marked as read-only. If NULL, the transaction is read-write.
* This value is stored in kvp, but we cache a copy here for
* performance reasons. reason_cache_valid indicates whether the
* cached value is valid.
* performance reasons.
*/
char * readonly_reason;
gboolean reason_cache_valid;
char * doclink;
char * void_reason;