summaryrefslogtreecommitdiff
path: root/src/lib/libc/string
diff options
context:
space:
mode:
authortb <>2021-12-24 02:12:31 +0000
committertb <>2021-12-24 02:12:31 +0000
commit5f20e4d06b4c24bf12b9027a91e9d8a3de6b6c62 (patch)
tree4fc7428ab504e6ecb1a7d6290242c0a0bb113294 /src/lib/libc/string
parenteb90e56d8fe112f145d3661057d6bc4d40d45aec (diff)
downloadopenbsd-5f20e4d06b4c24bf12b9027a91e9d8a3de6b6c62.tar.gz
openbsd-5f20e4d06b4c24bf12b9027a91e9d8a3de6b6c62.tar.bz2
openbsd-5f20e4d06b4c24bf12b9027a91e9d8a3de6b6c62.zip
Turn asserts in ASIdentifierChoice_canonize() into error checks
The first assert ensure 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/string')
0 files changed, 0 insertions, 0 deletions