database: Remove two little bits of dead code.

This commit is contained in:
Carl Worth 2009-10-20 23:12:53 -07:00
parent 6519aff957
commit 50144fb354

View file

@ -457,7 +457,6 @@ notmuch_database_open (const char *path)
notmuch->path = xstrdup (path); notmuch->path = xstrdup (path);
try { try {
Xapian::PostingIterator i;
notmuch->xapian_db = new Xapian::WritableDatabase (xapian_path, notmuch->xapian_db = new Xapian::WritableDatabase (xapian_path,
Xapian::DB_CREATE_OR_OPEN); Xapian::DB_CREATE_OR_OPEN);
} catch (const Xapian::Error &error) { } catch (const Xapian::Error &error) {
@ -519,8 +518,6 @@ notmuch_database_add_message (notmuch_database_t *notmuch,
(char *) NULL); (char *) NULL);
try { try {
doc = Xapian::Document ();
doc.set_data (filename); doc.set_data (filename);
parents = g_ptr_array_new (); parents = g_ptr_array_new ();