diff --git a/Annex/Magic.hs b/Annex/Magic.hs index d99a8d48ef..ce6b49d35f 100644 --- a/Annex/Magic.hs +++ b/Annex/Magic.hs @@ -41,5 +41,5 @@ getMagicMimeType :: Magic -> FilePath -> IO (Maybe MimeType) #ifdef WITH_MAGICMIME getMagicMimeType m f = Just <$> magicFile m f #else -getMagicMimeType = return Nothing +getMagicMimeType _ _ = return Nothing #endif