]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/fx2lafw/protocol.c
srzip: Fix handling of analog channels with index 0
[libsigrok.git] / src / hardware / fx2lafw / protocol.c
index d267ad5b0d84ff5ca17b73c442edc0b825c4b9ec..ad16da9524d7da3e2275e0fa9f7d128f3961dbf5 100644 (file)
@@ -390,9 +390,10 @@ SR_PRIV void mso_send_data_proc(struct sr_dev_inst *sdi,
        size_t i;
        struct dev_context *devc;
 
+       (void)sample_width;
+
        devc = sdi->priv;
 
-       sample_width = sample_width;
        length /= 2;
 
        /* Send the logic */