aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/src/cprof.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2016-02-03 15:49:15 +0100
committerHans Bolinder <[email protected]>2016-02-17 09:17:32 +0100
commit5e266f38ea828fdfd6e550c2b4a2584d6d1a1d4e (patch)
tree50150d0450c7a894885c364f15648ae5fa60f4e2 /lib/tools/src/cprof.erl
parentf6743c5263b67013951f36e56d942d7d89ba8ba2 (diff)
downloadotp-5e266f38ea828fdfd6e550c2b4a2584d6d1a1d4e.tar.gz
otp-5e266f38ea828fdfd6e550c2b4a2584d6d1a1d4e.tar.bz2
otp-5e266f38ea828fdfd6e550c2b4a2584d6d1a1d4e.zip
tools: Add suppression of Dialyzer warnings
Diffstat (limited to 'lib/tools/src/cprof.erl')
-rw-r--r--lib/tools/src/cprof.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/tools/src/cprof.erl b/lib/tools/src/cprof.erl
index 0240f876bc..f6d68f0bf8 100644
--- a/lib/tools/src/cprof.erl
+++ b/lib/tools/src/cprof.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2002-2009. All Rights Reserved.
+%% Copyright Ericsson AB 2002-2016. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
@@ -114,6 +114,7 @@ analyse(Limit) when is_integer(Limit) ->
analyse(M) when is_atom(M) ->
analyse(M, 1).
+-dialyzer({no_improper_lists, analyse/2}).
analyse(M, Limit) when is_atom(M), is_integer(Limit) ->
L0 = [begin
MFA = {M,F,A},