diff options
author | pfg <pfg@FreeBSD.org> | 2016-04-07 21:33:14 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2016-04-07 21:33:14 +0000 |
commit | 0edb0feb114b38da0cb99f67e8cceb76d7a3cee8 (patch) | |
tree | 293384234ffce3600a2f72a2336c3216fd5ceeb6 /lib/libthr/thread/thr_stack.c | |
parent | f6e1e7db8cd3d145b4a3cd526016ca225b7621a0 (diff) | |
download | FreeBSD-src-0edb0feb114b38da0cb99f67e8cceb76d7a3cee8.zip FreeBSD-src-0edb0feb114b38da0cb99f67e8cceb76d7a3cee8.tar.gz |
chdone(): Prevent returning uninitialized scalar value.
Improve over the solution in r297527:
Instead of attempting to initialize all the possible cases, just
move the check nearer to the case where it makes sense.
CID: 1006486
Reviewed by: ken
MFC after: 2 weeks
Diffstat (limited to 'lib/libthr/thread/thr_stack.c')
0 files changed, 0 insertions, 0 deletions