From 75073d0a8478441cc97a6efa10b566c5fb1dac81 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Fri, 17 Apr 2020 20:57:17 +0100 Subject: New upstream version 1.4.0 --- tools/bio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tools/bio.c') 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 bio_info(fido_dev_t *dev) { fido_bio_info_t *i = NULL; - int r; if ((i = fido_bio_info_new()) == NULL) errx(1, "fido_bio_info_new"); - if ((r = fido_bio_dev_get_info(dev, i)) != FIDO_OK) { + if (fido_bio_dev_get_info(dev, i) != FIDO_OK) { fido_bio_info_free(&i); return; } -- cgit v1.2.3