diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2016-09-22 20:00:00 +0200 |
---|---|---|
committer | Andrew Gregory <andrew.gregory.8@gmail.com> | 2017-05-09 05:27:43 +0200 |
commit | 7cc50125498ad33f78871be282fb75e41f6e8a77 (patch) | |
tree | 8224dddad991812c28d92e7442cf782d6f03b0a5 /scripts/pkgdelta.sh.in | |
parent | 22cadea56aa4a991db5c97bc81b7ed60702269aa (diff) | |
download | pacman-7cc50125498ad33f78871be282fb75e41f6e8a77.tar.gz pacman-7cc50125498ad33f78871be282fb75e41f6e8a77.tar.xz |
Return boolean from db_populate
Since the number of packages is not used anywhere, just return a
boolean to avoid the implicit cast from size_t to int in be_local.c.
Use 0 as success to be consistent with db_validate.
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
(cherry picked from commit 85171807c15fb5907d8337af2a50ab79392e1b8c)
Diffstat (limited to 'scripts/pkgdelta.sh.in')
0 files changed, 0 insertions, 0 deletions