diff options
| author | guenther <> | 2012-02-06 20:29:54 +0000 |
|---|---|---|
| committer | guenther <> | 2012-02-06 20:29:54 +0000 |
| commit | 8a83e74e706942a4d9581f028c6d4ac43c103243 (patch) | |
| tree | 5b91ee6121e35ca2e7de7a1edefccfd92041c6f0 /src/lib/libc/stdlib/random.c | |
| parent | 4c9ce2d2836b9397408b8a88299a27eb06f98fda (diff) | |
| download | openbsd-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/random.c')
0 files changed, 0 insertions, 0 deletions
