Skip to content

Commit a921165

Browse files
committed
Fix warning in Semaphore002
1 parent 39c330c commit a921165

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Semaphore002.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import System.Posix
66
main :: IO ()
77
main = do
88
sem <- semOpen "/test" OpenSemFlags {semCreate = True, semExclusive = False} stdFileMode 0
9-
forkIO $ do
9+
_ <- forkIO $ do
1010
threadDelay (1000*1000)
1111
semPost sem
1212

0 commit comments

Comments
 (0)