diff options
author | Ivy Foster <ivy.foster@gmail.com> | 2016-10-12 22:13:31 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2016-10-22 12:50:55 +0200 |
commit | a55adb81d0f6fcd7fe98cc444806b3b0d25efc9c (patch) | |
tree | 8bf6a8b9f048a9b1073d964ffcead9015f404bd0 /scripts/libmakepkg/tidy.sh.in | |
parent | a79be86f5751b4341f1339a32a5a8737439ac28d (diff) | |
download | pacman-a55adb81d0f6fcd7fe98cc444806b3b0d25efc9c.tar.gz pacman-a55adb81d0f6fcd7fe98cc444806b3b0d25efc9c.tar.xz |
Add ALPM_ERR_OK to _alpm_errno_t
This allows functions which return an _alpm_errno_t to always return a
genuine _alpm_errno_t for consistency, even in cases where there are
no errors. Since ALPM_ERR_OK = 0, their callers can still simply check
'err = some_fn(); if (!err) { ... }'.
Signed-off-by: Ivy Foster <ivy.foster@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/libmakepkg/tidy.sh.in')
0 files changed, 0 insertions, 0 deletions