mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-16 17:15:55 +01:00
Redis: Disable some dialyzer warnings when using old Erlang 20
This commit is contained in:
parent
f269d5b613
commit
ce6d5aa6a0
@ -69,6 +69,14 @@
|
|||||||
|
|
||||||
-export_type([error_reason/0]).
|
-export_type([error_reason/0]).
|
||||||
|
|
||||||
|
-ifdef(USE_OLD_HTTP_URI). % Erlang/OTP lower than 21
|
||||||
|
-dialyzer([{no_return, do_connect/6},
|
||||||
|
{no_unused, flush_queue/1},
|
||||||
|
{no_match, flush_queue/1},
|
||||||
|
{no_unused, re_subscribe/2},
|
||||||
|
{no_match, handle_info/2}]).
|
||||||
|
-endif.
|
||||||
|
|
||||||
%%%===================================================================
|
%%%===================================================================
|
||||||
%%% API
|
%%% API
|
||||||
%%%===================================================================
|
%%%===================================================================
|
||||||
|
Loading…
Reference in New Issue
Block a user