diff options
author | Dan McGee <dan@archlinux.org> | 2011-12-12 20:05:10 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-12-12 20:05:10 +0100 |
commit | 370c873be54a6ef74f86b5e77ff722f766ebf707 (patch) | |
tree | 385b003d95e85dc4608ec5b638e79f158740e65e /lib/libalpm/signing.h | |
parent | 8c8f04371745dad0bafcea14b38b4570e0b24a31 (diff) | |
download | pacman-370c873be54a6ef74f86b5e77ff722f766ebf707.tar.gz pacman-370c873be54a6ef74f86b5e77ff722f766ebf707.tar.xz |
Calculate root length only once when checking for file conflicts
It is quite easy to hoist this potentially repeated computation out of
the loop; even if we don't end up using it, it is super cheap to do it
only once.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/signing.h')
0 files changed, 0 insertions, 0 deletions