fixed typos

This commit is contained in:
magnuskarlsson 2014-05-10 16:15:19 -07:00 committed by Bert Vermeulen
parent 72716f15be
commit 1f9bcd0f94
2 changed files with 1 additions and 2 deletions

View File

@ -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;

View File

@ -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;
}