projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1631a17
)
fix do-notation warnings
author
Simon Marlow
<marlowsd@gmail.com>
Mon, 24 Aug 2009 08:04:00 +0000
(08:04 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Mon, 24 Aug 2009 08:04:00 +0000
(08:04 +0000)
compiler/iface/BinIface.hs
patch
|
blob
|
history
diff --git
a/compiler/iface/BinIface.hs
b/compiler/iface/BinIface.hs
index
3cfb43d
..
ffbba4a
100644
(file)
--- a/
compiler/iface/BinIface.hs
+++ b/
compiler/iface/BinIface.hs
@@
-102,8
+102,8
@@
readBinIface_ dflags checkHiWay traceBinIFaceReading hi_path update_nc = do
-- are always 32 bits.
--
if wORD_SIZE == 4
- then do Binary.get bh :: IO Word32; return ()
- else do Binary.get bh :: IO Word64; return ()
+ then do _ <- Binary.get bh :: IO Word32; return ()
+ else do _ <- Binary.get bh :: IO Word64; return ()
-- Check the interface file version and ways.
check_ver <- get bh