summaryrefslogtreecommitdiffstats
path: root/scripts/libmakepkg
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2020-05-13 20:43:53 +0200
committerAllan McRae <allan@archlinux.org>2020-06-01 02:59:08 +0200
commit23b50d60e34e324cf6f420c05293f7fa8a909623 (patch)
tree42a62adb3d3968f56d4564ae2b62bcf2c71cf4bd /scripts/libmakepkg
parent3674144a74cfe897ec3ff46c18681df293290caa (diff)
downloadpacman-23b50d60e34e324cf6f420c05293f7fa8a909623.tar.gz
pacman-23b50d60e34e324cf6f420c05293f7fa8a909623.tar.xz
Avoid depending on side effects in assert(...) expressions
When building with -DNDEBUG, assert statements are compiled out to no-ops. Thus, we can't depend on assignments or other computations occurring inside the assert(). Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/libmakepkg')
0 files changed, 0 insertions, 0 deletions