From 6f43183770b858906e6f41e59f65a0513615479d Mon Sep 17 00:00:00 2001 From: Robert Newson Date: Thu, 28 Jul 2011 19:14:08 +0000 Subject: revert redundant pattern match. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1151976 13f79535-47bb-0310-9956-ffa450edef68 --- src/couchdb/couch_db_updater.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/couchdb/couch_db_updater.erl b/src/couchdb/couch_db_updater.erl index 714a337f..6493a3b3 100644 --- a/src/couchdb/couch_db_updater.erl +++ b/src/couchdb/couch_db_updater.erl @@ -484,9 +484,9 @@ flush_trees(#db{fd=Fd,header=Header}=Db, {ok, NewSummaryPointer} = case Header#db_header.disk_version < 4 of true -> - {ok, _} = couch_file:append_term(Fd, {Doc#doc.body, DiskAtts}); + couch_file:append_term(Fd, {Doc#doc.body, DiskAtts}); false -> - {ok, _} = couch_file:append_term_md5(Fd, {Doc#doc.body, DiskAtts}) + couch_file:append_term_md5(Fd, {Doc#doc.body, DiskAtts}) end, {IsDeleted, NewSummaryPointer, UpdateSeq}; _ -> -- cgit v1.2.3