From: Gerhard Sittig Date: Fri, 9 Feb 2018 18:27:52 +0000 (+0100) Subject: saleae-logic-pro: silence "assigned, not used" compiler warning X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=6a821db6f2dc4bef110b0c33f50ff5753f7fdf0f;p=libsigrok.git saleae-logic-pro: silence "assigned, not used" compiler warning Remove an assignment that never took effect. This was reported by clang's scan-build. --- diff --git a/src/hardware/saleae-logic-pro/protocol.c b/src/hardware/saleae-logic-pro/protocol.c index 94cab7fb..2613b271 100644 --- a/src/hardware/saleae-logic-pro/protocol.c +++ b/src/hardware/saleae-logic-pro/protocol.c @@ -530,8 +530,6 @@ static int upload_bitstream(const struct sr_dev_inst *sdi, bs_offset += bs_part_size; } - ret = SR_OK; - sr_info("Bitstream upload done."); /* Check a scratch register? */