Underscore unused variable
authorFloatingGhost <hannah@coffee-and-dreams.uk>
Fri, 9 Dec 2022 20:04:48 +0000 (20:04 +0000)
committerFloatingGhost <hannah@coffee-and-dreams.uk>
Fri, 9 Dec 2022 20:04:48 +0000 (20:04 +0000)
lib/pleroma/config/deprecation_warnings.ex

index 73ef41145182440e88bd12e25873994bb09d072d..c213f3ce667389c3bce419b5ec982509ed591c4f 100644 (file)
@@ -66,7 +66,7 @@ defmodule Pleroma.Config.DeprecationWarnings do
 
       new_config =
         Config.get([:mrf_simple])
-        |> Enum.filter(fn {k, v} -> not is_atom(v) end)
+        |> Enum.filter(fn {_k, v} -> not is_atom(v) end)
         |> Enum.map(fn {k, v} ->
           {k,
            Enum.map(v, fn