Remove unnecessary counters in file removal code
commiteb5cb8ec02bf31b4a5e84ea38c196dae67bf2aac
authorDan McGee <dan@archlinux.org>
Mon, 2 Jan 2012 18:52:00 +0000 (2 12:52 -0600)
committerDan McGee <dan@archlinux.org>
Mon, 2 Jan 2012 18:58:51 +0000 (2 12:58 -0600)
tree38a8b814a49878d067cf4489771adca46234dda9
parent496f7b4f642af43beeafc1476294da56b433a587
Remove unnecessary counters in file removal code

Now that filelist arrays know their own size, we don't need to do the
bookkeeping we used to do when they were linked lists. Remove some of
the counter variables and use math instead.

Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/remove.c