_alpm_pkg_load_internal: remove unneeded if statement
This statement is always true due to an earlier test. Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
16a2a79728
commit
c64f898c48
1 changed files with 1 additions and 3 deletions
|
@ -683,9 +683,7 @@ pkg_invalid:
|
||||||
error:
|
error:
|
||||||
_alpm_pkg_free(newpkg);
|
_alpm_pkg_free(newpkg);
|
||||||
_alpm_archive_read_free(archive);
|
_alpm_archive_read_free(archive);
|
||||||
if(fd >= 0) {
|
close(fd);
|
||||||
close(fd);
|
|
||||||
}
|
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue