diff options
author | Hans Bolinder <[email protected]> | 2016-02-04 11:51:33 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2016-02-17 09:17:32 +0100 |
commit | e7ec19163e2f7f626fc9193fae6e3c3baa6e3f70 (patch) | |
tree | cd5a183c804f1519f1fcb8a8efebc39e35011648 | |
parent | d7ec9c47050ca07d60bf2cdf1c1ab4d7ee2ef75c (diff) | |
download | otp-e7ec19163e2f7f626fc9193fae6e3c3baa6e3f70.tar.gz otp-e7ec19163e2f7f626fc9193fae6e3c3baa6e3f70.tar.bz2 otp-e7ec19163e2f7f626fc9193fae6e3c3baa6e3f70.zip |
observer: Add suppression of Dialyzer warnings
-rw-r--r-- | lib/observer/src/observer_tv_table.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/observer/src/observer_tv_table.erl b/lib/observer/src/observer_tv_table.erl index 88f606b3e4..75e6919642 100644 --- a/lib/observer/src/observer_tv_table.erl +++ b/lib/observer/src/observer_tv_table.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2011-2014. All Rights Reserved. +%% Copyright Ericsson AB 2011-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. @@ -669,6 +669,7 @@ merge([], New, _Key) -> merge(Old, New, Key) -> merge2(keysort(Key, Old), keysort(Key, New), Key). +-dialyzer({no_improper_lists, merge2/3}). merge2([[Obj|_]|Old], [Obj|New], Key) -> [[Obj]|merge2(Old, New, Key)]; merge2([[A|Op]|Old], [B|New], Key) |