diff options
-rw-r--r-- | src/db.erl | 2 | ||||
-rw-r--r-- | src/storage.erl | 4 |
2 files changed, 1 insertions, 5 deletions
@@ -58,7 +58,7 @@ set_treesize(Size) -> -spec get_by_indices(integer(), integer(), {sorted, true|false}) -> [{non_neg_integer(), binary(), binary()}]. -get_by_indices(Start, End, {sorted, Sorted}) -> +get_by_indices(Start, End, {sorted, _Sorted}) -> get_by_indices_helper(Start, End). -spec get_by_index(binary()) -> notfound | diff --git a/src/storage.erl b/src/storage.erl index e632a8e..6a49a22 100644 --- a/src/storage.erl +++ b/src/storage.erl @@ -7,10 +7,6 @@ %% API (URL) -export([request/3]). -newentries_path() -> - {ok, Value} = application:get_env(plop, newentries_path), - Value. - request(post, "ct/storage/sendentry", Input) -> case (catch mochijson2:decode(Input)) of {error, E} -> |