lib/package_unpack.c: remove dead assignments found by clang-analyzer.

This commit is contained in:
Juan RP 2012-05-30 14:22:16 +02:00
parent 3244ec935d
commit c93d1637ae

View File

@ -380,9 +380,6 @@ unpack_archive(prop_dictionary_t pkg_repod, struct archive *ar)
version, entry_pname,
strerror(errno));
goto out;
} else if (rv == 1) {
/* hash doesn't match, extract file */
rv = 0;
} else if (rv == 0) {
/*
* Always set entry perms in existing
@ -455,7 +452,6 @@ unpack_archive(prop_dictionary_t pkg_repod, struct archive *ar)
archive_read_data_skip(ar);
continue;
}
rv = 0;
}
/*
* Extract entry from archive.