From 5954ef69383547f572419c29380495b9a25a5bf4 Mon Sep 17 00:00:00 2001 From: Eric Avdey Date: Fri, 31 Mar 2017 10:56:03 -0300 Subject: [PATCH] Fix unused variables warning This cleans up the artifacts left after refactoring of `couch_mrview_index:get/2` --- src/couch_mrview_index.erl | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/couch_mrview_index.erl b/src/couch_mrview_index.erl index a65bc94..0473d5d 100644 --- a/src/couch_mrview_index.erl +++ b/src/couch_mrview_index.erl @@ -57,8 +57,7 @@ get(info, State) -> language = Lang, update_seq = UpdateSeq, purge_seq = PurgeSeq, - views = Views, - design_opts = Opts + views = Views } = State, {ok, FileSize} = couch_file:bytes(Fd), {ok, ExternalSize} = couch_mrview_util:calculate_external_size(Views), @@ -70,11 +69,6 @@ get(info, State) -> end, ActiveSize = couch_btree:size(IdBtree) + LogBtSize + ExternalSize, - IncDesign = couch_util:get_value(<<"include_design">>, Opts, false), - LocalSeq = couch_util:get_value(<<"local_seq">>, Opts, false), - SeqIndexed = couch_util:get_value(<<"seq_indexed">>, Opts, false), - KeySeqIndexed = couch_util:get_value(<<"keyseq_indexed">>, Opts, false), - UpdateOptions0 = get(update_options, State), UpdateOptions = [atom_to_binary(O, latin1) || O <- UpdateOptions0],