diff options
| author | David Bremner <david@tethera.net> | 2016-10-06 22:56:46 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2016-10-06 22:56:46 -0300 |
| commit | ba8fba3d6aa37b1c7698137f6d577309335981ae (patch) | |
| tree | 9d923af5ab7d21a122edafb14abe77d64517245e /lib/database.cc | |
| parent | ae06fbfc76edc2ef320a51b6f774079d79078963 (diff) | |
| parent | b2d6f07a028a443c2f96e1684be5ec3addb55d96 (diff) | |
Merge branch 'release'
Diffstat (limited to 'lib/database.cc')
| -rw-r--r-- | lib/database.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/database.cc b/lib/database.cc index 4bfae019..f0bfe566 100644 --- a/lib/database.cc +++ b/lib/database.cc @@ -1143,7 +1143,6 @@ notmuch_database_close (notmuch_database_t *notmuch) return status; } -#if HAVE_XAPIAN_COMPACT static int unlink_cb (const char *path, unused (const struct stat *sb), @@ -1327,17 +1326,6 @@ notmuch_database_compact (const char *path, return ret; } -#else -notmuch_status_t -notmuch_database_compact (unused (const char *path), - unused (const char *backup_path), - unused (notmuch_compact_status_cb_t status_cb), - unused (void *closure)) -{ - _notmuch_database_log (notmuch, "notmuch was compiled against a xapian version lacking compaction support.\n"); - return NOTMUCH_STATUS_UNSUPPORTED_OPERATION; -} -#endif notmuch_status_t notmuch_database_destroy (notmuch_database_t *notmuch) |
