diff options
author | hselasky <hselasky@FreeBSD.org> | 2011-12-03 16:30:47 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2011-12-03 16:30:47 +0000 |
commit | 9151a2a45f37ad87d31fee1a0bff53f78be58936 (patch) | |
tree | d3a2db1a96b9f0c37b7f4547a21734cb75b3a522 /lib/libc/stdlib/rand.c | |
parent | fe7036d97d6db0c265b31a2ed29c141ec4848970 (diff) | |
download | FreeBSD-src-9151a2a45f37ad87d31fee1a0bff53f78be58936.zip FreeBSD-src-9151a2a45f37ad87d31fee1a0bff53f78be58936.tar.gz |
Simplify libusb_open_device_with_vid_pid(): Only set
pdev to non-NULL on success instead of unconditonally
setting it and maybe resetting it later.
Submitted by: Christoph Mallon
MFC after: 3 days
Diffstat (limited to 'lib/libc/stdlib/rand.c')
0 files changed, 0 insertions, 0 deletions