Skip to content

Commit

Permalink
Remove an unused function
Browse files Browse the repository at this point in the history
Didn't use to warn, but it does now, so we caught it.
  • Loading branch information
whatyouhide committed Feb 5, 2024
1 parent 1947e63 commit a0afdce
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/mint/http2/frame.ex
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ defmodule Mint.HTTP2.Frame do
for {frame, flags} <- @flags,
{flag_name, flag_value} <- flags do
defp set_flag(flags, unquote(frame), unquote(flag_name)), do: bor(flags, unquote(flag_value))
defp set_flag(unquote(frame), unquote(flag_name)), do: unquote(flag_value)

def flag_set?(flags, unquote(frame), unquote(flag_name)),
do: band(flags, unquote(flag_value)) == unquote(flag_value)
Expand Down

0 comments on commit a0afdce

Please sign in to comment.