Skip to content

Commit

Permalink
Fix xref/dialyzer complaint
Browse files Browse the repository at this point in the history
  • Loading branch information
martinsumner committed Jun 15, 2022
1 parent 845803a commit cefba88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@
race_conditions,
behaviours,
unmatched_returns]}]}.
{xref_checks,[undefined_function_calls,undefined_functions]}.
4 changes: 2 additions & 2 deletions src/mochiweb_clock.erl
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@

%% API.

-spec start_link() -> {ok, pid()}.
-spec start_link() -> gen_server:start_ret().
start_link() ->
gen_server:start_link({local, ?MODULE}, ?MODULE, [], []).

-spec start() -> {ok, pid()}.
-spec start() -> gen_server:start_ret().
start() ->
gen_server:start({local, ?MODULE}, ?MODULE, [], []).

Expand Down

0 comments on commit cefba88

Please sign in to comment.