Skip to content

Commit 488224b

Browse files
committed
bloomfilter-blocked: enable warnings in every component
1 parent ff28a70 commit 488224b

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

bloomfilter-blocked/bloomfilter-blocked.cabal

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ test-suite tests
104104
, tasty-quickcheck
105105

106106
benchmark bench
107-
import: language
107+
import: language, warnings
108108
type: exitcode-stdio-1.0
109109
hs-source-dirs: bench
110110
main-is: bloomfilter-bench.hs
@@ -130,7 +130,7 @@ executable fpr-calc
130130
ghc-options: -threaded
131131

132132
executable spell
133-
import: language
133+
import: language, warnings
134134
scope: private
135135
hs-source-dirs: examples
136136
main-is: spell.hs
@@ -140,7 +140,7 @@ executable spell
140140

141141
-- this exists due to windows
142142
library xxhash
143-
import: language
143+
import: language, warnings
144144
visibility: private
145145
include-dirs: xxhash/xxHash-0.8.2/ xxhash/include/
146146
includes:
@@ -162,7 +162,7 @@ library xxhash
162162
, primitive ^>=0.9
163163

164164
test-suite xxhash-tests
165-
import: language
165+
import: language, warnings
166166
type: exitcode-stdio-1.0
167167
hs-source-dirs: xxhash/tests
168168
main-is: xxhash-tests.hs

bloomfilter-blocked/xxhash/src/FFI.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module FFI (
1919
) where
2020

2121
import Data.Word (Word32, Word64, Word8)
22-
import Foreign.C.Types (CInt (..), CSize (..))
22+
import Foreign.C.Types (CSize (..))
2323
import Foreign.Ptr (Ptr)
2424
import GHC.Exts (ByteArray#, MutableByteArray#)
2525

bloomfilter-blocked/xxhash/src/XXH3.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,10 @@ module XXH3 (
1818
xxh3_64bit_update_w32,
1919
) where
2020

21-
import Control.Monad (unless)
2221
import Control.Monad.ST (ST)
2322
import Control.Monad.ST.Unsafe (unsafeIOToST)
2423
import Data.ByteString.Internal (ByteString (..),
2524
accursedUnutterablePerformIO)
26-
import Data.Coerce (coerce)
2725
import qualified Data.Primitive as P
2826
import Data.Primitive.ByteArray (ByteArray (..))
2927
import Data.Word (Word32, Word64)

0 commit comments

Comments
 (0)