summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/alpm.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-24 07:40:03 +0200
committerDan McGee <dan@archlinux.org>2011-06-24 08:36:47 +0200
commitf12ead2cf278d4a9b330d0d320733960fc750e96 (patch)
tree28ff56150e10d9c212c46edfb3d34c137b9a61a9 /lib/libalpm/alpm.h
parentd589a7b5dbdfcf740d72aa4e9e8fcab9a3de0fbd (diff)
downloadpacman-f12ead2cf278d4a9b330d0d320733960fc750e96.tar.gz
pacman-f12ead2cf278d4a9b330d0d320733960fc750e96.tar.xz
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>
Diffstat (limited to 'lib/libalpm/alpm.h')
0 files changed, 0 insertions, 0 deletions