[project @ 2001-06-29 13:57:08 by sewardj]
authorsewardj <unknown>
Fri, 29 Jun 2001 13:57:08 +0000 (13:57 +0000)
committersewardj <unknown>
Fri, 29 Jun 2001 13:57:08 +0000 (13:57 +0000)
Remove spurious "return ()" from WIN32 hSetBinaryMode.  Why this didn't
cause a syntax error before now completely escapes me.

ghc/lib/std/PrelHandle.hsc

index 084a182..c50fb48 100644 (file)
@@ -4,7 +4,7 @@
 #undef DEBUG
 
 -- -----------------------------------------------------------------------------
--- $Id: PrelHandle.hsc,v 1.12 2001/06/29 13:41:43 simonmar Exp $
+-- $Id: PrelHandle.hsc,v 1.13 2001/06/29 13:57:08 sewardj Exp $
 --
 -- (c) The University of Glasgow, 1994-2001
 --
@@ -1181,7 +1181,6 @@ hSetBinaryMode handle bin =
        throwErrnoIfMinus1_ "hSetBinaryMode"
           (setmode (fromIntegral (haFD handle_)) flg)
        return handle_{haIsBin=bin}
-  return ()
 
 foreign import "setmode" setmode :: CInt -> CInt -> IO CInt
 #else