Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

A sacrifice to the dialyzer god

  • Loading branch information...
commit 7986ec43a15172e738d8d734b4c2db494de0dde7 1 parent 3d429a3
Andrew Thompson Vagabond authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  src/lager_app.erl
  2. +1 −1  src/lager_config.erl
2  src/lager_app.erl
View
@@ -81,7 +81,7 @@ expand_handlers([{lager_file_backend, Configs}|T]) ->
expand_handlers(T);
expand_handlers([{Mod, Config}|T]) when is_atom(Mod) ->
%% allow the backend to generate a gen_event handler id, if it wants to
- code:load_file(Mod),
+ _ = code:load_file(Mod),
Res = case erlang:function_exported(Mod, config_to_id, 1) of
true ->
{Mod:config_to_id(Config), Config};
2  src/lager_config.erl
View
@@ -26,7 +26,7 @@
new() ->
%% set up the ETS configuration table
- try ets:new(?TBL, [named_table, public, set, {keypos, 1}, {read_concurrency, true}]) of
+ _ = try ets:new(?TBL, [named_table, public, set, {keypos, 1}, {read_concurrency, true}]) of
_Result ->
ok
catch
Please sign in to comment.
Something went wrong with that request. Please try again.