diff options
author | Loïc Hoguin <[email protected]> | 2011-12-15 20:45:12 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2011-12-15 20:45:12 +0100 |
commit | ce7084aa07e794387025d48cec83c4cafee3c5ec (patch) | |
tree | 9d72e3170cb2126f2c81f8f9da5a06b03885de00 | |
parent | f81cb89b5408ec10e3ebce9ac3e2a45bdb5a5230 (diff) | |
download | cowboy-ce7084aa07e794387025d48cec83c4cafee3c5ec.tar.gz cowboy-ce7084aa07e794387025d48cec83c4cafee3c5ec.tar.bz2 cowboy-ce7084aa07e794387025d48cec83c4cafee3c5ec.zip |
Fix a dialyzer warning
-rw-r--r-- | src/cowboy_app.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_app.erl b/src/cowboy_app.erl index 0ff08f0..c7cefe4 100644 --- a/src/cowboy_app.erl +++ b/src/cowboy_app.erl @@ -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 |