diff options
author | Dan McGee <dan@archlinux.org> | 2009-10-11 21:09:39 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-10-11 21:42:04 +0200 |
commit | 6e312220ec6668d6fc9ef37dbf581ca155511697 (patch) | |
tree | 8c4a2a93d4e3ccbddaaa1f02a3ed07467dd14d93 /lib/libalpm/error.c | |
parent | 3bc8c28ce3b7f06203842abbf8a8c5e0d21886e9 (diff) | |
download | pacman-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/error.c')
0 files changed, 0 insertions, 0 deletions