From 1f9bcd0f946a0a55275357143e259ff402619444 Mon Sep 17 00:00:00 2001 From: magnuskarlsson Date: Sat, 10 May 2014 16:15:19 -0700 Subject: [PATCH] fixed typos --- src/hardware/pipistrello-ols/api.c | 1 - src/hardware/pipistrello-ols/protocol.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/hardware/pipistrello-ols/api.c b/src/hardware/pipistrello-ols/api.c index cb66ec98..84965570 100644 --- a/src/hardware/pipistrello-ols/api.c +++ b/src/hardware/pipistrello-ols/api.c @@ -437,7 +437,6 @@ static int config_list(int key, GVariant **data, const struct sr_dev_inst *sdi, static int dev_open(struct sr_dev_inst *sdi) { struct dev_context *devc; - int ret; devc = sdi->priv; diff --git a/src/hardware/pipistrello-ols/protocol.c b/src/hardware/pipistrello-ols/protocol.c index 9f4ad7d7..5e8d721f 100644 --- a/src/hardware/pipistrello-ols/protocol.c +++ b/src/hardware/pipistrello-ols/protocol.c @@ -134,7 +134,7 @@ SR_PRIV int p_ols_open(struct dev_context *devc) return SR_OK; err_open_close_ftdic: - ftdi_usb_close(devc->ftdic)) + ftdi_usb_close(devc->ftdic); return SR_ERR; }