Skip to content

Commit 9e20a89

Browse files
committed
prefix _ the unused variable y
1 parent eedcf5e commit 9e20a89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Data/Vector/Storable/Mutable.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ storableSet (MVector n fp) x
197197
storableSetAsPrim
198198
:: forall a b . (Storable a, Prim b) => Int -> ForeignPtr a -> a -> b -> IO ()
199199
{-# INLINE [0] storableSetAsPrim #-}
200-
storableSetAsPrim n fp x y = withForeignPtr fp $ \ ptr -> do
200+
storableSetAsPrim n fp x _y = withForeignPtr fp $ \ ptr -> do
201201
poke ptr x
202202
-- we dont equate storable and prim reps, so we need to write to a slot
203203
-- in storable

0 commit comments

Comments
 (0)