diff options
Diffstat (limited to 'tools/bio.c')
-rw-r--r-- | tools/bio.c | 3 |
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 | |||
253 | bio_info(fido_dev_t *dev) | 253 | bio_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 | } |