libsigrok/src/scpi
Uwe Hermann e57057aee7 Fix a few "value never read" scan-build warnings.
This fixes parts of bug #423.

The list of fixed warnings:

src/output/srzip.c:285:3: warning: Value stored to 'ret' is never read
                ret = zip_append(o, logic->data, logic->unitsize, logic->length);
                ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/scpi/scpi.c:610:2: warning: Value stored to 'ret' is never read
        ret = SR_OK;
        ^     ~~~~~
src/scpi/scpi.c:667:2: warning: Value stored to 'ret' is never read
        ret = SR_OK;
        ^     ~~~~~
src/dmm/vc870.c:410:2: warning: Value stored to 'info_local' is never read
        info_local = (struct vc870_info *)info;
        ^            ~~~~~~~~~~~~~~~~~~~~~~~~~
src/hardware/conrad-digi-35-cpu/api.c:130:2: warning: Value stored to 'ret' is never read
        ret = SR_OK;
        ^     ~~~~~
src/hardware/fx2lafw/api.c:658:2: warning: Value stored to 'timeout' is never read
        timeout = fx2lafw_get_timeout(devc);
        ^         ~~~~~~~~~~~~~~~~~~~~~~~~~
src/hardware/gmc-mh-1x-2x/protocol.c:941:3: warning: Value stored to 'retc' is never read
                retc = SR_ERR_ARG;
                ^      ~~~~~~~~~~
src/hardware/gmc-mh-1x-2x/api.c:168:2: warning: Value stored to 'model' is never read
        model = METRAHIT_NONE;
        ^       ~~~~~~~~~~~~~
src/hardware/ikalogic-scanalogic2/api.c:325:2: warning: Value stored to 'ret' is never read
        ret = SR_OK;
        ^     ~~~~~
src/hardware/openbench-logic-sniffer/api.c:185:3: warning: Value stored to 'devc' is never read
                devc = sdi->priv;
                ^      ~~~~~~~~~
src/hardware/rigol-ds/api.c:813:3: warning: Value stored to 'devc' is never read
                devc = sdi->priv;
                ^      ~~~~~~~~~
src/hardware/scpi-pps/api.c:405:2: warning: Value stored to 'ret' is never read
        ret = SR_OK;
        ^     ~~~~~
src/hardware/yokogawa-dlm/api.c:239:2: warning: Value stored to 'ret' is never read
        ret = SR_ERR_NA;
        ^     ~~~~~~~~~
2015-09-25 12:02:42 +02:00
..
helpers.c scpi: add obviously missing else statements 2015-09-20 16:19:48 +02:00
scpi.c Fix a few "value never read" scan-build warnings. 2015-09-25 12:02:42 +02:00
scpi_libgpib.c scpi: Pass SCPI device instance to open and close callbacks. 2015-09-21 13:41:03 +02:00
scpi_serial.c scpi: Pass SCPI device instance to open and close callbacks. 2015-09-21 13:41:03 +02:00
scpi_tcp.c scpi: Pass SCPI device instance to open and close callbacks. 2015-09-21 13:41:03 +02:00
scpi_usbtmc_libusb.c scpi/usbtmc: Add Agilent DSO1000 series to RL1 blacklist. 2015-09-22 10:57:04 +02:00
scpi_visa.c scpi: Pass SCPI device instance to open and close callbacks. 2015-09-21 13:41:03 +02:00
scpi_vxi.c scpi: Pass SCPI device instance to open and close callbacks. 2015-09-21 13:41:03 +02:00
vxi.h Don't set _POSIX_C_SOURCE for VXI/RPC related files. 2015-08-29 17:15:26 +02:00
vxi.x Reorganize project tree. 2014-07-22 18:19:29 +02:00
vxi_clnt.c Build: Include <config.h> first in all source files 2015-09-13 18:54:46 +02:00
vxi_xdr.c Build: Include <config.h> first in all source files 2015-09-13 18:54:46 +02:00