Remove three unnecessary usages of alpm_list_count()
commitf12ead2cf278d4a9b330d0d320733960fc750e96
authorDan McGee <dan@archlinux.org>
Fri, 24 Jun 2011 05:40:03 +0000 (24 00:40 -0500)
committerDan McGee <dan@archlinux.org>
Fri, 24 Jun 2011 06:36:47 +0000 (24 01:36 -0500)
tree28ff56150e10d9c212c46edfb3d34c137b9a61a9
parentd589a7b5dbdfcf740d72aa4e9e8fcab9a3de0fbd
Remove three unnecessary usages of alpm_list_count()

For the files count when loading from a package, we can keep a counter.
The two in the frontend were completely useless due to the fact that if
sync_dbs is non-NULL, alpm_list_count() will always be greater than 0.

Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/be_package.c
src/pacman/query.c
src/pacman/sync.c