diff options
author | Laszlo Papp <djszapi2@gmail.com> | 2009-11-13 00:59:34 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-11-16 02:40:56 +0100 |
commit | be266b43647ef57632d7bcfd07a4441f737b5aed (patch) | |
tree | 43fea67e6a00849a6328cdffed0a4a7dc723fd28 /contrib/pacsearch | |
parent | 120cd312e49b9fbb844dd36c71fe1f2e2910b707 (diff) | |
download | pacman-be266b43647ef57632d7bcfd07a4441f737b5aed.tar.gz pacman-be266b43647ef57632d7bcfd07a4441f737b5aed.tar.xz |
Refactor do/while cycle and multiple while cycles
* It makes the code clearer to read/understand
* Cppcheck tool doesn't show this anymore: [./util.c:215]: (error) Resource leak: fd
[Dan: don't change the coding style]
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'contrib/pacsearch')
0 files changed, 0 insertions, 0 deletions