1 --- a/libopkg/pkg_hash.c
2 +++ b/libopkg/pkg_hash.c
3 @@ -363,8 +363,11 @@ pkg_t *pkg_hash_fetch_best_installation_
4 abstract_pkg_t *apkg = NULL;
7 - if (!(apkg = abstract_pkg_fetch_by_name(hash, name)))
9 + if (!(apkg = abstract_pkg_fetch_by_name(hash, name))) {
15 ret = pkg_hash_fetch_best_installation_candidate(conf, apkg, pkg_name_constraint_fcn, apkg->name, 0, err);