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; ^ ~~~~~~~~~ |
||
---|---|---|
.. | ||
helpers.c | ||
scpi.c | ||
scpi_libgpib.c | ||
scpi_serial.c | ||
scpi_tcp.c | ||
scpi_usbtmc_libusb.c | ||
scpi_visa.c | ||
scpi_vxi.c | ||
vxi.h | ||
vxi.x | ||
vxi_clnt.c | ||
vxi_xdr.c |