Skip to content

Commit

Permalink
Clean up unused variable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
bitwalker committed Jul 24, 2014
1 parent 3e504a6 commit 72486c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/conform_utils_code.ex
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ defmodule Conform.Utils.Code do
acc <> "\n" <> tabs(get_indent) <> keystr <> ": " <> format_function(fndef)
end
# Just a tuple
defp format_list_item({a, b} = tuple, acc) when not is_atom(a) do
defp format_list_item({a, _} = tuple, acc) when not is_atom(a) do
acc <> "\n" <> tabs(get_indent) <> Macro.to_string(tuple)
end
# A key/value pair list item
Expand Down Expand Up @@ -240,4 +240,4 @@ defmodule Conform.Utils.Code do
end)
defp tabs(x) when x > 50, do: String.duplicate(" ", x)
defp tabs(_), do: ""
end
end

0 comments on commit 72486c3

Please sign in to comment.