From c6ce7f6795306c1206475eb442c47c291fa400c2 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 23 Oct 2019 15:25:22 +0200 Subject: [PATCH] Fix unrelated warning Signed-off-by: Thomas Citharel --- lib/mobilizon_web/upload/filter/optimize.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mobilizon_web/upload/filter/optimize.ex b/lib/mobilizon_web/upload/filter/optimize.ex index 487c81496..de95b1250 100644 --- a/lib/mobilizon_web/upload/filter/optimize.ex +++ b/lib/mobilizon_web/upload/filter/optimize.ex @@ -20,7 +20,7 @@ defmodule MobilizonWeb.Upload.Filter.Optimize do optimizers = Config.get([__MODULE__, :optimizers], @default_optimizers) case ExOptimizer.optimize(file, deps: optimizers) do - {:ok, res} -> + {:ok, _res} -> :ok {:error, err} ->