From d6bf06ab4fb493d5e240092988fe37f2d6a655a3 Mon Sep 17 00:00:00 2001 From: lain Date: Mon, 10 Dec 2018 20:49:06 +0100 Subject: [PATCH] Fix warnings. --- lib/pleroma/user.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex index dc67f29c6..bcc34b38f 100644 --- a/lib/pleroma/user.ex +++ b/lib/pleroma/user.ex @@ -807,8 +807,8 @@ defmodule Pleroma.User do end def parse_bio(bio, user \\ %User{info: %{source_data: %{}}}) - def parse_bio(nil, user), do: "" - def parse_bio(bio, user) when bio == "", do: bio + def parse_bio(nil, _user), do: "" + def parse_bio(bio, _user) when bio == "", do: bio def parse_bio(bio, user) do mentions = Formatter.parse_mentions(bio) -- 2.45.2