]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
Tests: Remove an unwanted semicolon from a macro definition
authorLasse Collin <lasse.collin@tukaani.org>
Wed, 26 Nov 2025 11:50:57 +0000 (13:50 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Tue, 9 Dec 2025 15:18:22 +0000 (17:18 +0200)
It didn't affect control flow.

Fixes: fe3bd438fb11 ("Tests: Fix memory leaks in test_block_header.")
tests/test_block_header.c

index d8e6221f31b10fbe06e6fca08a65b1d991e3d39b..a9d669cdb96d624c4f595de9115ca3563ea3f6ee 100644 (file)
@@ -27,7 +27,7 @@ do { \
        memzero(&(block), sizeof(lzma_block)); \
        (block).filters = filters_; \
        (block).check = LZMA_CHECK_CRC32; \
-} while (0);
+} while (0)
 
 
 #ifdef HAVE_ENCODERS