fix do-notation warnings
authorSimon Marlow <marlowsd@gmail.com>
Mon, 24 Aug 2009 08:04:00 +0000 (08:04 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Mon, 24 Aug 2009 08:04:00 +0000 (08:04 +0000)
compiler/iface/BinIface.hs

index 3cfb43d..ffbba4a 100644 (file)
@@ -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