Skip to content

Commit 320d667

Browse files
committed
Silence some compiler warnings
1 parent b8de850 commit 320d667

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Control/Distributed/Process/UnsafePrimitives.hs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ send them msg = do
9393
msg
9494
where
9595
unsafeSendLocal :: (Serializable a) => ProcessId -> a -> Process ()
96-
unsafeSendLocal pid msg =
97-
sendCtrlMsg Nothing $ LocalSend pid (unsafeCreateUnencodedMessage msg)
96+
unsafeSendLocal pid msg' =
97+
sendCtrlMsg Nothing $ LocalSend pid (unsafeCreateUnencodedMessage msg')
9898

9999
-- | Send a message on a typed channel
100100
sendChan :: Serializable a => SendPort a -> a -> Process ()
@@ -112,8 +112,8 @@ sendChan (SendPort cid) msg = do
112112
msg
113113
where
114114
unsafeSendChanLocal :: (Serializable a) => SendPortId -> a -> Process ()
115-
unsafeSendChanLocal spId msg =
116-
sendCtrlMsg Nothing $ LocalPortSend spId (unsafeCreateUnencodedMessage msg)
115+
unsafeSendChanLocal spId msg' =
116+
sendCtrlMsg Nothing $ LocalPortSend spId (unsafeCreateUnencodedMessage msg')
117117

118118
-- | Create an unencoded @Message@ for any @Serializable@ type.
119119
wrapMessage :: Serializable a => a -> Message

0 commit comments

Comments
 (0)