Fix warning about unused pattern variable
authorGabor Greif <ggreif@gmail.com>
Tue, 1 Dec 2015 15:59:39 +0000 (16:59 +0100)
committerGabor Greif <ggreif@gmail.com>
Tue, 1 Dec 2015 15:59:39 +0000 (16:59 +0100)
utils/deriveConstants/Main.hs

index 09c94ab..6a88ac2 100644 (file)
@@ -786,7 +786,7 @@ getWanted verbose os tmpdir gccProgram gccFlags nmProgram mobjdumpProgram
                   , Just sym <- stripPrefix prefix sym0 = Just (sym, read n)
                   | otherwise = Nothing
                 where
-                  [sym0, adr] = take 2 (reverse $ words l1)
+                  [sym0, _] = take 2 (reverse $ words l1)
 
           -- If an Int value is larger than 2^28 or smaller
           -- than -2^28, then fail.