aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/database.cc
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-11-17 11:02:33 -0800
committerGravatar Carl Worth <cworth@cworth.org>2009-11-17 17:42:32 -0800
commit24a25ffba98c1c34d92cefb9e23dd44e3be76126 (patch)
tree5206caf6ca1739a2f8a2042057c5a98da1358425 /lib/database.cc
parent387828c4356416278fdac8446c904fe4c5ad283d (diff)
Remove the talloc_owner argument from create_for_message_id.
This function has only one caller, and that one caller was passing the same value for both talloc_owner and the notmuch database. Dropping the redundant argument simplifies the documentation of this function considerably.
Diffstat (limited to 'lib/database.cc')
-rw-r--r--lib/database.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/database.cc b/lib/database.cc
index 3c8d626e..2b36a5c9 100644
--- a/lib/database.cc
+++ b/lib/database.cc
@@ -912,7 +912,6 @@ notmuch_database_add_message (notmuch_database_t *notmuch,
* database). */
message = _notmuch_message_create_for_message_id (notmuch,
- notmuch,
message_id,
&private_status);