summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/alpm.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2009-10-11 21:09:39 +0200
committerDan McGee <dan@archlinux.org>2009-10-11 21:42:04 +0200
commit6e312220ec6668d6fc9ef37dbf581ca155511697 (patch)
tree8c4a2a93d4e3ccbddaaa1f02a3ed07467dd14d93 /lib/libalpm/alpm.c
parent3bc8c28ce3b7f06203842abbf8a8c5e0d21886e9 (diff)
downloadpacman-6e312220ec6668d6fc9ef37dbf581ca155511697.tar.gz
pacman-6e312220ec6668d6fc9ef37dbf581ca155511697.tar.xz
Reduce calls to list_count() in removing package
We don't need to count the number of packages left once per file when removing; we only need to do it once per package. Also move a variable into the correct scope. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm.c')
0 files changed, 0 insertions, 0 deletions