[commit: ghc] wip/nfs-locking: Fix warnings (8cfa6ef)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:23:40 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/8cfa6efa9fb742b90b2c3019536365f711392b75/ghc

>---------------------------------------------------------------

commit 8cfa6efa9fb742b90b2c3019536365f711392b75
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Wed Oct 5 15:31:45 2016 +0100

    Fix warnings


>---------------------------------------------------------------

8cfa6efa9fb742b90b2c3019536365f711392b75
 src/Oracles/ArgsHash.hs           | 6 +++---
 src/Settings/Packages/Compiler.hs | 1 -
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/Oracles/ArgsHash.hs b/src/Oracles/ArgsHash.hs
index f9cec24..36a0cdd 100644
--- a/src/Oracles/ArgsHash.hs
+++ b/src/Oracles/ArgsHash.hs
@@ -30,6 +30,6 @@ checkArgsHash target = do
 argsHashOracle :: Rules ()
 argsHashOracle = void $
     addOracle $ \(ArgsHashKey target) -> do
-    	argList <- interpret target getArgs
-    	let trackedArgList = filter (trackedArgument $ builder target) argList
-    	return $ hash trackedArgList
+        argList <- interpret target getArgs
+        let trackedArgList = filter (trackedArgument $ builder target) argList
+        return $ hash trackedArgList
diff --git a/src/Settings/Packages/Compiler.hs b/src/Settings/Packages/Compiler.hs
index f33dc18..03b8081 100644
--- a/src/Settings/Packages/Compiler.hs
+++ b/src/Settings/Packages/Compiler.hs
@@ -7,7 +7,6 @@ import Oracles.Config.Flag
 import Oracles.Config.Setting
 import Predicate
 import Settings
-import Settings.Paths
 
 compilerPackageArgs :: Args
 compilerPackageArgs = package compiler ? do



More information about the ghc-commits mailing list