aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErlang/OTP <[email protected]>2018-07-20 14:09:35 +0200
committerErlang/OTP <[email protected]>2018-07-20 14:09:35 +0200
commit6e18e093a1cf0116db803d7e602ff8adc348ab3b (patch)
treeedba96877be291c7d722eebac2fd68e4cec90c16
parentade9ba2fbd9b1698fcc583c7c18cf15b5ce23636 (diff)
parent465c31f1b06440c256b91ca17539f09c328f4bd5 (diff)
downloadotp-6e18e093a1cf0116db803d7e602ff8adc348ab3b.tar.gz
otp-6e18e093a1cf0116db803d7e602ff8adc348ab3b.tar.bz2
otp-6e18e093a1cf0116db803d7e602ff8adc348ab3b.zip
Merge branch 'sverker/kernel/silence-dialyzer/OTP-15170' into maint-20
* sverker/kernel/silence-dialyzer/OTP-15170: 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,