fix(emqx_broker): Dialyzer warning
This commit is contained in:
parent
0eb697fa6f
commit
cfe52cbb8d
|
@ -465,7 +465,8 @@ handle_cast({subscribe, Topic}, State) ->
|
||||||
handle_cast({unsubscribed, Topic}, State) ->
|
handle_cast({unsubscribed, Topic}, State) ->
|
||||||
case ets:member(?SUBSCRIBER, Topic) of
|
case ets:member(?SUBSCRIBER, Topic) of
|
||||||
false ->
|
false ->
|
||||||
_ = emqx_router:do_delete_route(Topic);
|
_ = emqx_router:do_delete_route(Topic),
|
||||||
|
ok;
|
||||||
true -> ok
|
true -> ok
|
||||||
end,
|
end,
|
||||||
{noreply, State};
|
{noreply, State};
|
||||||
|
|
Loading…
Reference in New Issue