Fix -Wunused-but-set-warning with `ret`
authorngie <ngie@FreeBSD.org>
Mon, 13 Mar 2017 17:15:45 +0000 (17:15 +0000)
committerngie <ngie@FreeBSD.org>
Mon, 13 Mar 2017 17:15:45 +0000 (17:15 +0000)
commit9d2dfc21b023f7cfcfd0e2fa7a04531c09234321
tree69d955bc9fe19f5c0995a842f374efaa8c37d8dc
parentb990ff3c5d3f04d39ae09f2aeff1c964d5b3b225
Fix -Wunused-but-set-warning with `ret`

While here, resolve Coverity warnings by demonstrating that vfprintf's
return value is being explicitly ignored.

MFC after: 1 week
Reported by: gcc 6.3.0
Tested with: clang, gcc 4.2.1, gcc 6.3.0
Sponsored by: Dell EMC Isilon
sbin/dhclient/tests/fake.c