diff options
| author | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2020-07-24 14:36:26 +0200 |
|---|---|---|
| committer | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2020-07-24 14:36:26 +0200 |
| commit | 27a52f401cd17700f86e896f4df356619bbde405 (patch) | |
| tree | 95cfbb9177c0e7323d772c16bf25c205730d708f /test | |
| parent | 342c36370ddb08a047e4f6221447f684e6e1ba6e (diff) | |
| download | rabbitmq-server-git-27a52f401cd17700f86e896f4df356619bbde405.tar.gz | |
rabbit_networking: Re-enable Dialyzer in this file
The function spec of `erl_epmd:port_please/3` was fixed in Erlang 23. we
can re-enable Dialyzer in this file.
This was mandatory anyway, otherwise disabling Dialyzer for this one
triggered the following warning in rabbit:do_run_postlaunch_phase/0:
rabbit.erl:1059: Function log_broker_started/1 will never be called
That's because the pattern matching we did on the return value of
`erl_epmd:port_please/{2,3}` was considered incorrect by Dialyzer,
causing a possible crash. The crash would happen before
`log_broker_started/1` would be called, which meant
`log_broker_started/1` would be dead code.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions
