From: Martin Matuska Date: Wed, 17 Apr 2024 07:15:35 +0000 (+0200) Subject: tests: fix null format string error in test_compat_lzip.c X-Git-Tag: v3.7.4~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d43c39247f4f5fb8b85ec2a3904c65519956cde1;p=thirdparty%2Flibarchive.git tests: fix null format string error in test_compat_lzip.c --- diff --git a/libarchive/test/test_compat_lzip.c b/libarchive/test/test_compat_lzip.c index d3b8b1183..1420e5bb9 100644 --- a/libarchive/test/test_compat_lzip.c +++ b/libarchive/test/test_compat_lzip.c @@ -195,7 +195,6 @@ compat_lzip_4(const char *name) assertEqualString("test.bin", archive_entry_pathname(ae)); /* Verify the end-of-archive. */ - archive_set_error(a, ARCHIVE_OK, NULL); assertEqualIntA(a, ARCHIVE_EOF, archive_read_next_header(a, &ae)); /* Verify that the format detection worked. */