From: Tim Kientzle Date: Thu, 14 Jan 2010 03:40:45 +0000 (-0500) Subject: Actually assert something here. X-Git-Tag: v2.8.0~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62af96ca004d26f1c3adf922f6fcde779ae1f528;p=thirdparty%2Flibarchive.git Actually assert something here. SVN-Revision: 1813 --- diff --git a/libarchive/test/test_write_format_cpio.c b/libarchive/test/test_write_format_cpio.c index f56a28b10..b6e791bd1 100644 --- a/libarchive/test/test_write_format_cpio.c +++ b/libarchive/test/test_write_format_cpio.c @@ -124,7 +124,7 @@ test_format(int (*set_format)(struct archive *)) } } failure("Unable to locate the second header for damage-recovery test."); - assert(damaged = 1); + assert(damaged == 1); /* * Now, read the data back.