diff options
author | Hans Bolinder <[email protected]> | 2016-02-22 13:23:04 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2016-02-22 13:23:04 +0100 |
commit | 8c5f8128fc167d67fbd5d63205f35eade4cc741f (patch) | |
tree | 5cea83359579da4881e7d839e67c97755eaa4177 /erts/preloaded/src | |
parent | 89d7e21cf4ae988c57c8ef047bfe85127875c70c (diff) | |
parent | f10621e0cd4321834d072d2c495fc84066f04cd3 (diff) | |
download | otp-8c5f8128fc167d67fbd5d63205f35eade4cc741f.tar.gz otp-8c5f8128fc167d67fbd5d63205f35eade4cc741f.tar.bz2 otp-8c5f8128fc167d67fbd5d63205f35eade4cc741f.zip |
Merge branch 'hb/add_dialyzer_suppressions/OTP-12862' into maint
* hb/add_dialyzer_suppressions/OTP-12862:
Fix a few dialyzer warnings
Diffstat (limited to 'erts/preloaded/src')
-rw-r--r-- | erts/preloaded/src/prim_file.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/erts/preloaded/src/prim_file.erl b/erts/preloaded/src/prim_file.erl index c87b2645ec..ab5359ebbc 100644 --- a/erts/preloaded/src/prim_file.erl +++ b/erts/preloaded/src/prim_file.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2000-2013. All Rights Reserved. +%% Copyright Ericsson AB 2000-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. @@ -1276,6 +1276,7 @@ lseek_position(_) -> %% Translates the response from the driver into %% {ok, Result} or {error, Reason}. +-dialyzer({no_improper_lists, translate_response/2}). translate_response(?FILE_RESP_OK, []) -> ok; translate_response(?FILE_RESP_ERROR, List) when is_list(List) -> |