suppress compiler warning about CYTHON_FALLTHROUGH

This commit is contained in:
Thomas Waldmann 2025-05-23 08:14:43 +02:00
parent 4c45087698
commit 830c5c8fea
No known key found for this signature in database
GPG key ID: 243ACFA951F78E01

View file

@ -44,7 +44,7 @@ cpu_threads = multiprocessing.cpu_count() if multiprocessing and multiprocessing
on_rtd = os.environ.get("READTHEDOCS")
# Extra cflags for all extensions, usually just warnings we want to enable explicitly
cflags = ["-Wall", "-Wextra", "-Wpointer-arith"]
cflags = ["-Wall", "-Wextra", "-Wpointer-arith", "-Wno-unreachable-code-fallthrough"]
compress_source = "src/borg/compress.pyx"
crypto_ll_source = "src/borg/crypto/low_level.pyx"