diff options
author | Jan Lehnardt <jan@apache.org> | 2010-02-01 23:03:02 +0000 |
---|---|---|
committer | Jan Lehnardt <jan@apache.org> | 2010-02-01 23:03:02 +0000 |
commit | 8ef616ca80246e5c104c5212af0c28ab2412b9d4 (patch) | |
tree | 99dd3632126420a4d7441230ba4e3d8ef9d67d56 /src/couchdb/couch_rep_reader.erl | |
parent | ee8a76e1cad33831448dbf12a394c51aa65230f4 (diff) |
fix unused variable warnings, remove unused code.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@905438 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_rep_reader.erl')
-rw-r--r-- | src/couchdb/couch_rep_reader.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_rep_reader.erl b/src/couchdb/couch_rep_reader.erl index b8326fb3..4f03008f 100644 --- a/src/couchdb/couch_rep_reader.erl +++ b/src/couchdb/couch_rep_reader.erl @@ -51,7 +51,7 @@ start_link(Parent, Source, MissingRevs_or_DocIds, PostProps) -> next(Pid) -> gen_server:call(Pid, next_docs, infinity). -init([Parent, Source, MissingRevs_or_DocIds, PostProps]) -> +init([Parent, Source, MissingRevs_or_DocIds, _PostProps]) -> process_flag(trap_exit, true), if is_record(Source, http_db) -> #url{host=Host, port=Port} = ibrowse_lib:parse_url(Source#http_db.url), |