diff options
author | Michihiro NAKAJIMA <ggcueroad@gmail.com> | 2011-01-06 06:23:46 -0500 |
---|---|---|
committer | Michihiro NAKAJIMA <ggcueroad@gmail.com> | 2011-01-06 06:23:46 -0500 |
commit | 94fc633e0c8c7f63da148248ff439a493beacf9b (patch) | |
tree | a31535ece352cd61e1f2f444ddbb250409a940ee /libarchive/test/test_read_disk_directory_traversals.c | |
parent | dca389c9d31a87e550a377e7b4024c104f8ccb63 (diff) | |
download | libarchive-94fc633e0c8c7f63da148248ff439a493beacf9b.tar.gz |
Initialize a loop counter.
SVN-Revision: 2865
Diffstat (limited to 'libarchive/test/test_read_disk_directory_traversals.c')
-rw-r--r-- | libarchive/test/test_read_disk_directory_traversals.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libarchive/test/test_read_disk_directory_traversals.c b/libarchive/test/test_read_disk_directory_traversals.c index 791bf73c..07e898ca 100644 --- a/libarchive/test/test_read_disk_directory_traversals.c +++ b/libarchive/test/test_read_disk_directory_traversals.c @@ -250,6 +250,7 @@ DEFINE_TEST(test_read_disk_directory_traversals) assertEqualIntA(a, ARCHIVE_OK, archive_read_disk_open(a, "dir1")); /* Step in a deep directory. */ + file_count = 12; while (file_count--) { assertEqualIntA(a, ARCHIVE_OK, archive_read_next_header2(a, ae)); |