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:
parent
f81cb89b54
commit
ce7084aa07
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ profile_output() ->
|
||||||
consider_profiling() ->
|
consider_profiling() ->
|
||||||
case application:get_env(profile) of
|
case application:get_env(profile) of
|
||||||
{ok, true} ->
|
{ok, true} ->
|
||||||
eprof:start(),
|
{ok, _Pid} = eprof:start(),
|
||||||
eprof:start_profiling([self()]);
|
eprof:start_profiling([self()]);
|
||||||
_ ->
|
_ ->
|
||||||
not_profiling
|
not_profiling
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue