From ce7084aa07e794387025d48cec83c4cafee3c5ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 15 Dec 2011 20:45:12 +0100 Subject: Fix a dialyzer warning --- src/cowboy_app.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cowboy_app.erl') 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 -- cgit v1.2.3