From a88b4a4d56a923ad1f3652eb1133676f8c96c44d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Fri, 5 Apr 2024 11:22:55 +0200 Subject: zstd: Update to upstream version 1.5.6 Release notes: - https://github.com/facebook/zstd/releases/tag/v1.5.6 --- thirdparty/zstd/common/debug.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'thirdparty/zstd/common/debug.c') diff --git a/thirdparty/zstd/common/debug.c b/thirdparty/zstd/common/debug.c index ebf7bfccfa..9d0b7d229c 100644 --- a/thirdparty/zstd/common/debug.c +++ b/thirdparty/zstd/common/debug.c @@ -21,4 +21,10 @@ #include "debug.h" +#if !defined(ZSTD_LINUX_KERNEL) || (DEBUGLEVEL>=2) +/* We only use this when DEBUGLEVEL>=2, but we get -Werror=pedantic errors if a + * translation unit is empty. So remove this from Linux kernel builds, but + * otherwise just leave it in. + */ int g_debuglevel = DEBUGLEVEL; +#endif -- cgit v1.2.3