]> sigrok.org Git - libsigrok.git/commitdiff
fixed typos
authormagnuskarlsson <redacted>
Sat, 10 May 2014 23:15:19 +0000 (16:15 -0700)
committerBert Vermeulen <redacted>
Sun, 24 Aug 2014 23:00:55 +0000 (01:00 +0200)
src/hardware/pipistrello-ols/api.c
src/hardware/pipistrello-ols/protocol.c

index cb66ec986cf55b2ce42dd39460926a441b0470fe..8496557078124ca56d52b88ee6861ca13e508585 100644 (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;
 
index 9f4ad7d780b83de2f5b7e6b9755b2f680c1cd82c..5e8d721ff0c4b89628be16aaa5dc9a3c12830ee7 100644 (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;
 }