summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/qdiv.c
diff options
context:
space:
mode:
authorguenther <>2012-02-06 20:29:54 +0000
committerguenther <>2012-02-06 20:29:54 +0000
commit8a83e74e706942a4d9581f028c6d4ac43c103243 (patch)
tree5b91ee6121e35ca2e7de7a1edefccfd92041c6f0 /src/lib/libc/stdlib/qdiv.c
parent4c9ce2d2836b9397408b8a88299a27eb06f98fda (diff)
downloadopenbsd-8a83e74e706942a4d9581f028c6d4ac43c103243.tar.gz
openbsd-8a83e74e706942a4d9581f028c6d4ac43c103243.tar.bz2
openbsd-8a83e74e706942a4d9581f028c6d4ac43c103243.zip
Revert previous diff as it resulted in the wrong return code when
the last node is deleted. Instead, resolve the Coverity warning by returning (node *)1 when you delete the root node. based an idea from millert@. ok otto@
Diffstat (limited to 'src/lib/libc/stdlib/qdiv.c')
0 files changed, 0 insertions, 0 deletions