Commit d6c397eb9622dbf0a6cb1dcfc0f5c0570149d1de

Thomas de Grivel 2022-01-18T10:34:03

fix warnings

diff --git a/lib/kmxgit_web/controllers/page_controller.ex b/lib/kmxgit_web/controllers/page_controller.ex
index 3d85258..a4057b5 100644
--- a/lib/kmxgit_web/controllers/page_controller.ex
+++ b/lib/kmxgit_web/controllers/page_controller.ex
@@ -27,7 +27,7 @@ defmodule KmxgitWeb.PageController do
       0 ->
         {du, _} = Integer.parse(out)
         du
-      x ->
+      _ ->
         Logger.error(out)
         0
     end
diff --git a/lib/kmxgit_web/controllers/slug_controller.ex b/lib/kmxgit_web/controllers/slug_controller.ex
index 5a7fefe..e0b3622 100644
--- a/lib/kmxgit_web/controllers/slug_controller.ex
+++ b/lib/kmxgit_web/controllers/slug_controller.ex
@@ -1,7 +1,6 @@
 defmodule KmxgitWeb.SlugController do
   use KmxgitWeb, :controller
 
-  alias Kmxgit.OrganisationManager.Organisation
   alias Kmxgit.RepositoryManager
   alias Kmxgit.RepositoryManager.Repository
   alias Kmxgit.SlugManager