]> sigrok.org Git - libsigrok.git/commitdiff
hp-3478a: Fix compiler warning.
authorFrank Stettner <redacted>
Mon, 19 Feb 2018 12:30:13 +0000 (13:30 +0100)
committerUwe Hermann <redacted>
Wed, 21 Feb 2018 10:37:19 +0000 (11:37 +0100)
src/hardware/hp-3478a/api.c

index edc16fc896befcfb07d069e1ab3b1c679f36014c..c87affd3ffdecb900133c770f0683ca3716ccd97 100644 (file)
@@ -206,7 +206,6 @@ static int config_list(uint32_t key, GVariant **data,
 
 static int dev_acquisition_start(const struct sr_dev_inst *sdi)
 {
-       int ret;
        struct sr_scpi_dev_inst *scpi;
        struct dev_context *devc;