From 50144fb354dc5bf282c2a2cdc68c926e42ccf3ef Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Tue, 20 Oct 2009 23:12:53 -0700 Subject: [PATCH] database: Remove two little bits of dead code. --- database.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/database.cc b/database.cc index 041cffdc..5ee07059 100644 --- a/database.cc +++ b/database.cc @@ -457,7 +457,6 @@ notmuch_database_open (const char *path) notmuch->path = xstrdup (path); try { - Xapian::PostingIterator i; notmuch->xapian_db = new Xapian::WritableDatabase (xapian_path, Xapian::DB_CREATE_OR_OPEN); } catch (const Xapian::Error &error) { @@ -519,8 +518,6 @@ notmuch_database_add_message (notmuch_database_t *notmuch, (char *) NULL); try { - doc = Xapian::Document (); - doc.set_data (filename); parents = g_ptr_array_new (); -- 2.43.0