]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Actually assert something here.
authorTim Kientzle <kientzle@gmail.com>
Thu, 14 Jan 2010 03:40:45 +0000 (22:40 -0500)
committerTim Kientzle <kientzle@gmail.com>
Thu, 14 Jan 2010 03:40:45 +0000 (22:40 -0500)
SVN-Revision: 1813

libarchive/test/test_write_format_cpio.c

index f56a28b10d7fc41c262fabd5a30eddb3c90b797c..b6e791bd144e725ca8e56bf4f44008bea808076f 100644 (file)
@@ -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.