nexus-osciprime: Fix compiler warning.

protocol.c:26:46: warning: unused parameter 'fd' [-Wunused-parameter]
This commit is contained in:
Uwe Hermann 2012-12-31 21:02:14 +01:00
parent 811155da46
commit f057272cac
1 changed files with 2 additions and 0 deletions

View 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;