summaryrefslogtreecommitdiff
path: root/Assistant/Install
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-12-15 17:10:24 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-12-15 17:10:24 -0400
commit83ca53d9cb5b59427aa8577535cc4cfcac8a2dc3 (patch)
tree755fede5873a55090a2cb722804cc8b971fdce11 /Assistant/Install
parent22b568b78e1e2ba24bfab023a212a1fb7280e09f (diff)
squash warning in OSX build
Diffstat (limited to 'Assistant/Install')
-rw-r--r--Assistant/Install/Menu.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Assistant/Install/Menu.hs b/Assistant/Install/Menu.hs
index 41ec855b6..22ca1da9c 100644
--- a/Assistant/Install/Menu.hs
+++ b/Assistant/Install/Menu.hs
@@ -14,10 +14,10 @@ import Common
import Utility.FreeDesktop
installMenu :: FilePath -> FilePath -> FilePath -> FilePath -> IO ()
-installMenu command menufile iconsrcdir icondir = do
#ifdef darwin_HOST_OS
- return ()
+installMenu _command _menufile _iconsrcdir _icondir = return ()
#else
+installMenu command menufile iconsrcdir icondir = do
writeDesktopMenuFile (fdoDesktopMenu command) menufile
installIcon (iconsrcdir </> "logo.svg") $
iconFilePath (iconBaseName ++ ".svg") "scalable" icondir