summaryrefslogtreecommitdiff
path: root/tools/bio.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2020-04-17 20:57:17 +0100
committerColin Watson <cjwatson@debian.org>2020-04-17 20:57:17 +0100
commit75073d0a8478441cc97a6efa10b566c5fb1dac81 (patch)
treeb73bff259e1b16829ed8b19ee92df2bbbf36ef7d /tools/bio.c
parentc923f422b1e455bdd8ec3bdb10d005e3bfbacfe0 (diff)
New upstream version 1.4.0
Diffstat (limited to 'tools/bio.c')
-rw-r--r--tools/bio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/bio.c b/tools/bio.c
index b8f9b38..135b055 100644
--- a/tools/bio.c
+++ b/tools/bio.c
@@ -253,11 +253,10 @@ void
253bio_info(fido_dev_t *dev) 253bio_info(fido_dev_t *dev)
254{ 254{
255 fido_bio_info_t *i = NULL; 255 fido_bio_info_t *i = NULL;
256 int r;
257 256
258 if ((i = fido_bio_info_new()) == NULL) 257 if ((i = fido_bio_info_new()) == NULL)
259 errx(1, "fido_bio_info_new"); 258 errx(1, "fido_bio_info_new");
260 if ((r = fido_bio_dev_get_info(dev, i)) != FIDO_OK) { 259 if (fido_bio_dev_get_info(dev, i) != FIDO_OK) {
261 fido_bio_info_free(&i); 260 fido_bio_info_free(&i);
262 return; 261 return;
263 } 262 }