]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Revert "Fix -Wunused-variable under FUZZING_BUILD_MODE..." 2247/head
authorYann Collet <Cyan4973@users.noreply.github.com>
Wed, 15 Jul 2020 19:42:18 +0000 (12:42 -0700)
committerGitHub <noreply@github.com>
Wed, 15 Jul 2020 19:42:18 +0000 (12:42 -0700)
lib/common/debug.h

index 37ce370cf1a75759d8fa5a2774a4083bbd14442a..ac6224888d8b7d6918dce8b3ee68e5699103109f 100644 (file)
@@ -79,7 +79,7 @@ extern "C" {
 #  include <assert.h>
 #else
 #  ifndef assert   /* assert may be already defined, due to prior #include <assert.h> */
-#    define assert(condition) ((void) (condition))   /* disable assert (default) */
+#    define assert(condition) ((void)0)   /* disable assert (default) */
 #  endif
 #endif