[pacman-dev] [patch] resolvedeps cleanup + pactest

ngaba at petra.hos.u-szeged.hu ngaba at petra.hos.u-szeged.hu
Sat Jul 14 15:40:37 EDT 2007


> +			sync = _alpm_db_get_pkgfromcache(j->data, missdep->name);
> +			found = alpm_depcmp(sync, missdep);
Hi!
Since sync can be NULL here (if not found), if (sync = 
_alpm_db_get_pkgfromcache(j->data, missdep->name)) found = 
alpm_depcmp(sync, missdep);
would be better imho.
Bye, ngaba


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.





More information about the pacman-dev mailing list