From 7b02ccde64907cb3dcb0f534b88cf9c3aa9f0d28 Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Thu, 14 May 2020 18:08:43 -0400 Subject: [PATCH] underscore unused variable --- lib/philomena/processors/webm.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/philomena/processors/webm.ex b/lib/philomena/processors/webm.ex index 06c4424c..d7af3d6f 100644 --- a/lib/philomena/processors/webm.ex +++ b/lib/philomena/processors/webm.ex @@ -148,7 +148,7 @@ defmodule Philomena.Processors.Webm do {webm, mp4} end - defp scale_gif(file, palette, duration, {width, height}) do + defp scale_gif(file, palette, _duration, {width, height}) do gif = Briefly.create!(extname: ".gif") scale_filter = "scale=w=#{width}:h=#{height}:force_original_aspect_ratio=decrease" palette_filter = "paletteuse=dither=bayer:bayer_scale=5:diff_mode=rectangle"