summaryrefslogtreecommitdiff
path: root/lib/libalpm/cache.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2009-10-11 14:09:39 -0500
committerDan McGee <dan@archlinux.org>2009-10-11 14:42:04 -0500
commit6e312220ec6668d6fc9ef37dbf581ca155511697 (patch)
tree8c4a2a93d4e3ccbddaaa1f02a3ed07467dd14d93 /lib/libalpm/cache.h
parent3bc8c28ce3b7f06203842abbf8a8c5e0d21886e9 (diff)
downloadpacman-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/cache.h')
0 files changed, 0 insertions, 0 deletions