Skip to content

Commit 7986ec4

Browse files
committed
A sacrifice to the dialyzer god
1 parent 3d429a3 commit 7986ec4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/lager_app.erl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ expand_handlers([{lager_file_backend, Configs}|T]) ->
8181
expand_handlers(T);
8282
expand_handlers([{Mod, Config}|T]) when is_atom(Mod) ->
8383
%% allow the backend to generate a gen_event handler id, if it wants to
84-
code:load_file(Mod),
84+
_ = code:load_file(Mod),
8585
Res = case erlang:function_exported(Mod, config_to_id, 1) of
8686
true ->
8787
{Mod:config_to_id(Config), Config};

‎src/lager_config.erl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
new() ->
2828
%% set up the ETS configuration table
29-
try ets:new(?TBL, [named_table, public, set, {keypos, 1}, {read_concurrency, true}]) of
29+
_ = try ets:new(?TBL, [named_table, public, set, {keypos, 1}, {read_concurrency, true}]) of
3030
_Result ->
3131
ok
3232
catch

0 commit comments

Comments
 (0)