2
0
mirror of https://github.com/vasi/pixz synced 2024-11-18 15:26:46 +00:00

We handle EOF fine now

This commit is contained in:
Dave Vasilevsky 2012-10-14 07:38:42 -04:00
parent b13ae91698
commit ea64c94c21

View File

@ -126,7 +126,6 @@ static void read_thread() {
while (true) { while (true) {
int aerr = archive_read_next_header(ar, &entry); int aerr = archive_read_next_header(ar, &entry);
if (aerr == ARCHIVE_EOF) { if (aerr == ARCHIVE_EOF) {
// TODO
break; break;
} else if (aerr != ARCHIVE_OK && aerr != ARCHIVE_WARN) { } else if (aerr != ARCHIVE_OK && aerr != ARCHIVE_WARN) {
// Some charset translations warn spuriously // Some charset translations warn spuriously