From 104ef37f1869616b7b2d0a303838fc4562a1b7b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sat, 12 Aug 2017 16:11:05 +0200 Subject: Fix a Dialyzer warning --- src/gun_sse.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gun_sse.erl b/src/gun_sse.erl index 835a7a8..4a898d4 100644 --- a/src/gun_sse.erl +++ b/src/gun_sse.erl @@ -45,7 +45,7 @@ handle(IsFin, Data, State=#state{reply_to=ReplyTo, stream_ref=StreamRef, sse_sta ReplyTo ! {gun_sse, self(), StreamRef, Event}, handle(IsFin, <<>>, State#state{sse_state=SSE}); {more, SSE} -> - case IsFin of + _ = case IsFin of fin -> ReplyTo ! {gun_sse, self(), StreamRef, fin}; _ -> -- cgit v1.2.3