aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2018-07-03 14:58:25 +0200
committerSverker Eriksson <[email protected]>2018-07-03 14:58:25 +0200
commit465c31f1b06440c256b91ca17539f09c328f4bd5 (patch)
tree3dcac94e4fc92004c53d216f136535f2e66109a4
parent857156bcadae45fe112911bd7ca735ac6f3ca9d2 (diff)
downloadotp-465c31f1b06440c256b91ca17539f09c328f4bd5.tar.gz
otp-465c31f1b06440c256b91ca17539f09c328f4bd5.tar.bz2
otp-465c31f1b06440c256b91ca17539f09c328f4bd5.zip
kernel: Silence dialyzer
-rw-r--r--lib/kernel/src/dist_util.erl12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/kernel/src/dist_util.erl b/lib/kernel/src/dist_util.erl
index d80971f414..cddb24c34a 100644
--- a/lib/kernel/src/dist_util.erl
+++ b/lib/kernel/src/dist_util.erl
@@ -476,12 +476,12 @@ con_loop({Kernel, Node, Socket, Type, MFTick, MFGetstat, MFSetOpts, MFGetOpts}=C
{Kernel, disconnect} ->
?shutdown2(Node, disconnected);
{Kernel, aux_tick} ->
- case MFGetstat(Socket) of
- {ok, _, _, PendWrite} ->
- send_tick(Socket, PendWrite, MFTick);
- _ ->
- ignore_it
- end,
+ _ = case MFGetstat(Socket) of
+ {ok, _, _, PendWrite} ->
+ send_tick(Socket, PendWrite, MFTick);
+ _ ->
+ ignore_it
+ end,
con_loop(ConData, Tick);
{Kernel, tick} ->
case send_tick(Socket, Tick, Type,