summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/deps.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c
index 1edb96e3..2cd9e40f 100644
--- a/lib/libalpm/deps.c
+++ b/lib/libalpm/deps.c
@@ -488,7 +488,6 @@ PMList *_alpm_removedeps(pmdb_t *db, PMList *targs)
if(!needed) {
pmpkg_t *pkg = _alpm_pkg_new(dep->name, dep->version);
if(pkg == NULL) {
- _alpm_log(PM_LOG_ERROR, "could not allocate memory for a package structure");
continue;
}
/* add it to the target list */