From 1cb300e68a485cbcb1b09765cdb38ccf3a35202f Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 22 Apr 2018 13:53:02 -0400 Subject: [PATCH] squish build warning when built w/o S3 --- Assistant/WebApp/Configurators/IA.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Assistant/WebApp/Configurators/IA.hs b/Assistant/WebApp/Configurators/IA.hs index c46fcf510e..32164339f5 100644 --- a/Assistant/WebApp/Configurators/IA.hs +++ b/Assistant/WebApp/Configurators/IA.hs @@ -205,5 +205,6 @@ $if (not exists) #ifdef WITH_S3 url = S3.iaItemUrl bucket #else - url = "" + url = case bucket of + _ -> "" #endif