From: magnuskarlsson Date: Sat, 10 May 2014 23:15:19 +0000 (-0700) Subject: fixed typos X-Git-Tag: libsigrok-0.4.0~1125 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=1f9bcd0f946a0a55275357143e259ff402619444;p=libsigrok.git fixed typos --- 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; }