Skip to content

Commit

Permalink
Fix dialyzer warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jadeallenx committed Apr 7, 2016
1 parent 0a9dd17 commit da14d15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/lager_app.erl
Expand Up @@ -173,7 +173,7 @@ configure_sink(Sink, SinkDef) ->
determine_async_behavior(Sink, proplists:get_value(async_threshold, SinkDef),
proplists:get_value(async_threshold_window, SinkDef)
),
maybe_install_sink_killer(Sink, proplists:get_value(killer_hwm, SinkDef),
_ = maybe_install_sink_killer(Sink, proplists:get_value(killer_hwm, SinkDef),
proplists:get_value(killer_reinstall_after, SinkDef)),
start_handlers(Sink,
proplists:get_value(handlers, SinkDef, [])),
Expand Down Expand Up @@ -211,7 +211,7 @@ boot() ->
get_env(lager, async_threshold),
get_env(lager, async_threshold_window)),

maybe_install_sink_killer(?DEFAULT_SINK, get_env(lager, killer_hwm),
_ = maybe_install_sink_killer(?DEFAULT_SINK, get_env(lager, killer_hwm),
get_env(lager, killer_reinstall_after)),

start_handlers(?DEFAULT_SINK,
Expand Down
2 changes: 1 addition & 1 deletion src/lager_handler_watcher.erl
Expand Up @@ -88,7 +88,7 @@ handle_info(reinstall_handler, #state{module=Module, config=Config, sink=Sink} =
install_handler(Sink, Module, Config),
{noreply, State};
handle_info({reboot, Sink}, State) ->
lager_app:boot(Sink),
_ = lager_app:boot(Sink),
{noreply, State};
handle_info(stop, State) ->
{stop, normal, State};
Expand Down

0 comments on commit da14d15

Please sign in to comment.