diff options
| author | David Bremner <david@tethera.net> | 2021-02-02 16:43:58 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-03-20 07:23:40 -0300 |
| commit | 6251e2bb9ee023d25b58384c8a49576086fdaba3 (patch) | |
| tree | dfec27a8a13bc9f02b9467330cba6361b2a48370 /lib/database-private.h | |
| parent | 1383481d4a7cee3b59f354a203090c966a2a635e (diff) | |
lib: remove "path" from notmuch struct
This removes duplication between the struct element and the
configuration string_map entry. Create a simple wrapper for setting
the database path that makes sure the trailing / is stripped.
Diffstat (limited to 'lib/database-private.h')
| -rw-r--r-- | lib/database-private.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/database-private.h b/lib/database-private.h index d936b216..2900382d 100644 --- a/lib/database-private.h +++ b/lib/database-private.h @@ -189,9 +189,6 @@ operator& (notmuch_field_flag_t a, notmuch_field_flag_t b) struct _notmuch_database { bool exception_reported; - /* Path to database parent directory and or/mail root */ - char *path; - /* Path to actual database */ const char *xapian_path; |
