From 39d7db07f37f72fa807f5cdec363621033e8d53f Mon Sep 17 00:00:00 2001
From: Thomas Citharel <tcit@tcit.fr>
Date: Wed, 23 Oct 2019 15:25:22 +0200
Subject: [PATCH] Fix unrelated warning

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
---
 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} ->