X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=blobdiff_plain;f=src%2Fscpi%2Fscpi.c;h=0efde8bab7b9c11f8d2cec00ee48f1afd0ecac4f;hp=576aa76e39aaac472763e17f4f423bc4c44fec11;hb=e57057aee778e723da572a6b5e2bd01526cc7beb;hpb=36cbd69e12d8957592c94420d98552bb00d67be6 diff --git a/src/scpi/scpi.c b/src/scpi/scpi.c index 576aa76e..0efde8ba 100644 --- a/src/scpi/scpi.c +++ b/src/scpi/scpi.c @@ -607,7 +607,6 @@ SR_PRIV int sr_scpi_get_floatv(struct sr_scpi_dev_inst *scpi, gchar **ptr, **tokens; GArray *response_array; - ret = SR_OK; response = NULL; tokens = NULL; @@ -664,7 +663,6 @@ SR_PRIV int sr_scpi_get_uint8v(struct sr_scpi_dev_inst *scpi, gchar **ptr, **tokens; GArray *response_array; - ret = SR_OK; response = NULL; tokens = NULL;