Comment unused function in emqx_frame.erl

This commit is contained in:
周子博 2018-09-07 10:18:21 +08:00
parent f95c82e37a
commit d819ec0b58
1 changed files with 2 additions and 2 deletions

View File

@ -236,8 +236,8 @@ parse_will_message(Packet = #mqtt_packet_connect{will_flag = true,
parse_will_message(Packet, Bin) -> parse_will_message(Packet, Bin) ->
{Packet, Bin}. {Packet, Bin}.
protocol_approved(Ver, Name) -> % protocol_approved(Ver, Name) ->
lists:member({Ver, Name}, ?PROTOCOL_NAMES). % lists:member({Ver, Name}, ?PROTOCOL_NAMES).
parse_packet_id(<<PacketId:16/big, Rest/binary>>) -> parse_packet_id(<<PacketId:16/big, Rest/binary>>) ->
{PacketId, Rest}. {PacketId, Rest}.