From: Simon Marlow Date: Mon, 24 Aug 2009 08:04:00 +0000 (+0000) Subject: fix do-notation warnings X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=2900ac71b7f36fbf2f4a89b4dd85583f694bc31c fix do-notation warnings --- diff --git a/compiler/iface/BinIface.hs b/compiler/iface/BinIface.hs index 3cfb43d..ffbba4a 100644 --- 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