summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib
diff options
context:
space:
mode:
authortb <>2021-12-24 02:23:44 +0000
committertb <>2021-12-24 02:23:44 +0000
commitfbecbcba939835bcf8695b8f3ec22961bf94712b (patch)
tree6994feba36513ddf8aa23e6b732bc55a5f2252c9 /src/lib/libc/stdlib
parentdbc3c4af9b2f85570e362a53398df91b4917ad44 (diff)
downloadopenbsd-fbecbcba939835bcf8695b8f3ec22961bf94712b.tar.gz
openbsd-fbecbcba939835bcf8695b8f3ec22961bf94712b.tar.bz2
openbsd-fbecbcba939835bcf8695b8f3ec22961bf94712b.zip
Turn asserts in ASIdentifierChoice_canonize() into error checks
The first assert ensures that a stack that was just sorted in a stronger sense is sorted in a weak sense and the second assert ensures that the result of the canonization procedure is canonical. All callers check for error, so these asserts don't do anything useful. ok jsing
Diffstat (limited to 'src/lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions