Fix all compilation warnings

This commit is contained in:
Thog 2017-11-19 02:22:07 +01:00
commit 59770c3f5c
No known key found for this signature in database
GPG key ID: 0CD291558FAFDBC6
26 changed files with 89 additions and 94 deletions

View file

@ -97,7 +97,7 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenter do
}
end
def to_map(%Activity{data: %{"type" => "Delete", "published" => created_at, "object" => deleted_object }} = activity, %{user: user} = opts) do
def to_map(%Activity{data: %{"type" => "Delete", "published" => created_at, "object" => _ }} = activity, %{user: user} = opts) do
created_at = created_at |> Utils.date_to_asctime
%{