Skip to content

Commit a0afdce

Browse files
committed
Remove an unused function
Didn't use to warn, but it does now, so we caught it.
1 parent 1947e63 commit a0afdce

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/mint/http2/frame.ex

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ defmodule Mint.HTTP2.Frame do
6666
for {frame, flags} <- @flags,
6767
{flag_name, flag_value} <- flags do
6868
defp set_flag(flags, unquote(frame), unquote(flag_name)), do: bor(flags, unquote(flag_value))
69-
defp set_flag(unquote(frame), unquote(flag_name)), do: unquote(flag_value)
7069

7170
def flag_set?(flags, unquote(frame), unquote(flag_name)),
7271
do: band(flags, unquote(flag_value)) == unquote(flag_value)

0 commit comments

Comments
 (0)