Fix warnings
authorIan Lynagh <igloo@earth.li>
Mon, 13 Dec 2010 13:24:46 +0000 (13:24 +0000)
committerIan Lynagh <igloo@earth.li>
Mon, 13 Dec 2010 13:24:46 +0000 (13:24 +0000)
System/Event/Manager.hs
System/Event/Thread.hs

index 74b1a72..1206d66 100644 (file)
@@ -41,8 +41,7 @@ module System.Event.Manager
 ------------------------------------------------------------------------
 -- Imports
 
-import Control.Concurrent.MVar (MVar, modifyMVar, modifyMVar_, newMVar,
-                                readMVar)
+import Control.Concurrent.MVar (MVar, modifyMVar, newMVar, readMVar)
 import Control.Exception (finally)
 import Control.Monad ((=<<), forM_, liftM, sequence_, when)
 import Data.IORef (IORef, atomicModifyIORef, mkWeakIORef, newIORef, readIORef,
index 72343d9..59bf7e8 100644 (file)
@@ -21,7 +21,6 @@ import GHC.Conc.Sync (TVar, ThreadId, ThreadStatus(..), atomically, forkIO,
 import GHC.IO (mask_, onException)
 import GHC.IO.Exception (ioError)
 import GHC.MVar (MVar, newEmptyMVar, newMVar, putMVar, takeMVar)
-import GHC.Real (fromIntegral)
 import System.Event.Internal (eventIs, evtClose)
 import System.Event.Manager (Event, EventManager, evtRead, evtWrite, loop,
                              new, registerFd, unregisterFd_, registerTimeout)