0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 20:30:23 +00:00

Fix a dialyzer warning

This commit is contained in:
Loïc Hoguin 2011-12-15 20:45:12 +01:00
parent f81cb89b54
commit ce7084aa07

View file

@ -46,7 +46,7 @@ profile_output() ->
consider_profiling() ->
case application:get_env(profile) of
{ok, true} ->
eprof:start(),
{ok, _Pid} = eprof:start(),
eprof:start_profiling([self()]);
_ ->
not_profiling