From: Michihiro NAKAJIMA Date: Thu, 7 Apr 2011 11:49:02 +0000 (-0400) Subject: Remove old, redundant test code. X-Git-Tag: v3.0.0a~512 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04d685008e7ade15250cf78ff5ae2ece37b5afca;p=thirdparty%2Flibarchive.git Remove old, redundant test code. SVN-Revision: 3174 --- diff --git a/libarchive/test/test_read_format_lha_filename.c b/libarchive/test/test_read_format_lha_filename.c index 63a21269c..dcae4dc9d 100644 --- a/libarchive/test/test_read_format_lha_filename.c +++ b/libarchive/test/test_read_format_lha_filename.c @@ -167,10 +167,6 @@ test_read_format_lha_filename_CP932_Windows(const char *refname) * of filenames from the header of an lha archive file and so we * want to test that it works well. */ - assert((a = archive_read_new()) != NULL); - assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_all(a)); - assertEqualInt(ARCHIVE_OK, archive_read_free(a)); - assert((a = archive_read_new()) != NULL); assertEqualIntA(a, ARCHIVE_OK, archive_read_support_filter_all(a)); assertEqualIntA(a, ARCHIVE_OK, archive_read_support_format_all(a));