diff options
author | doug <> | 2015-07-20 16:48:11 +0000 |
---|---|---|
committer | doug <> | 2015-07-20 16:48:11 +0000 |
commit | 05278d57e115c91084a6b18a7b8de5c1c8c62eb3 (patch) | |
tree | 475ecaf39f5ad7b889d80327691a359c8f02eee5 /src/lib/libc/stdlib/atof.c | |
parent | 2f8ee22b76328709f36382a6a7e10918eb23432e (diff) | |
download | openbsd-05278d57e115c91084a6b18a7b8de5c1c8c62eb3.tar.gz openbsd-05278d57e115c91084a6b18a7b8de5c1c8c62eb3.tar.bz2 openbsd-05278d57e115c91084a6b18a7b8de5c1c8c62eb3.zip |
Remove condition that never happens and fix error handling.
There were two issues here:
1) in == NULL is never true because it's checked above here.
(Fixes Coverity 21705)
2) All error handling is in the if (in == NULL) guard, so effectively
there's no error handling and it continues on.
ok miod@ jsing@
Diffstat (limited to 'src/lib/libc/stdlib/atof.c')
0 files changed, 0 insertions, 0 deletions