]> sigrok.org Git - libsigrok.git/commitdiff
nexus-osciprime: Fix compiler warning.
authorUwe Hermann <redacted>
Mon, 31 Dec 2012 20:02:14 +0000 (21:02 +0100)
committerUwe Hermann <redacted>
Mon, 31 Dec 2012 20:02:14 +0000 (21:02 +0100)
protocol.c:26:46: warning: unused parameter 'fd' [-Wunused-parameter]

hardware/nexus-osciprime/protocol.c

index 3c85a9770dc5a91a9cd77a57f80c07834cdea780..86c4214b084be06b70a1ed16415ad2a981289b3e 100644 (file)
@@ -28,6 +28,8 @@ SR_PRIV int nexus_osciprime_receive_data(int fd, int revents, void *cb_data)
        const struct sr_dev_inst *sdi;
        struct dev_context *devc;
 
+       (void)fd;
+
        if (!(sdi = cb_data))
                return TRUE;