diff options
author | Hans Bolinder <[email protected]> | 2016-02-04 09:34:28 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2016-02-17 09:17:32 +0100 |
commit | d114f1166cd25b6fb7aedaddc9087ecca38fb3b2 (patch) | |
tree | b50f88f709a10ed5b755aa93f08f21ac7b88c8d6 /lib/kernel/src/heart.erl | |
parent | d1972f66df96ec76bc6a3861d1ff8f4f4c302b5f (diff) | |
download | otp-d114f1166cd25b6fb7aedaddc9087ecca38fb3b2.tar.gz otp-d114f1166cd25b6fb7aedaddc9087ecca38fb3b2.tar.bz2 otp-d114f1166cd25b6fb7aedaddc9087ecca38fb3b2.zip |
kernel: Add suppression of Dialyzer warnings
Diffstat (limited to 'lib/kernel/src/heart.erl')
-rw-r--r-- | lib/kernel/src/heart.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/kernel/src/heart.erl b/lib/kernel/src/heart.erl index 464b6919f1..137fad706f 100644 --- a/lib/kernel/src/heart.erl +++ b/lib/kernel/src/heart.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 1996-2013. All Rights Reserved. +%% Copyright Ericsson AB 1996-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. @@ -265,6 +265,7 @@ do_cycle_port_program(Caller, Parent, Port, Cmd) -> send_heart_beat(Port) -> Port ! {self(), {command, [?HEART_BEAT]}}. %% Set a new HEART_COMMAND. +-dialyzer({no_improper_lists, send_heart_cmd/2}). send_heart_cmd(Port, []) -> Port ! {self(), {command, [?CLEAR_CMD]}}; send_heart_cmd(Port, Cmd) -> |