From e95e996d175ee39ddc8bdc6a65238a014db0b43e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 8 Dec 2025 09:26:28 +0000 Subject: [PATCH] Remove unused variable from test Address code review feedback: remove unused testFile variable Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com> --- tests/SharpCompress.Test/ArchiveTests.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/SharpCompress.Test/ArchiveTests.cs b/tests/SharpCompress.Test/ArchiveTests.cs index d4683319..e6771ba3 100644 --- a/tests/SharpCompress.Test/ArchiveTests.cs +++ b/tests/SharpCompress.Test/ArchiveTests.cs @@ -660,8 +660,6 @@ public class ArchiveTests : ReaderTests { // Test that ArchiveFactory.IsArchive returns false instead of throwing // when called on a non-archive file (regression test for issue #1060) - var testFile = Path.Combine(TEST_ARCHIVES_PATH, "Zip.bzip2.noEmptyDirs.zip"); - using (var stream = new MemoryStream(new byte[] { 0x00, 0x01, 0x02, 0x03, 0x04 })) { var result = ArchiveFactory.IsArchive(stream, out var type);