diff options
author | Linus Nordberg <linus@nordberg.se> | 2014-11-21 16:21:26 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2014-11-21 16:21:26 +0100 |
commit | 414166b1437cdd37c24b556dedb4102b032320f4 (patch) | |
tree | 5f5d32f06c55f5768af1b8e4d01a8ca96a6e0f35 | |
parent | c37d4f6005c09378e2611886d8c9dcccecd8aa1e (diff) |
Get rid of two warnings.
-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} -> |