fx2lafw: Fix a -Wself-assign compiler warning.

This closes bug #793.
This commit is contained in:
Uwe Hermann 2016-05-11 22:24:59 +02:00
parent c2fdcc25a4
commit e91d4ce2b2
1 changed files with 2 additions and 1 deletions

View File

@ -390,9 +390,10 @@ SR_PRIV void mso_send_data_proc(struct sr_dev_inst *sdi,
size_t i;
struct dev_context *devc;
(void)sample_width;
devc = sdi->priv;
sample_width = sample_width;
length /= 2;
/* Send the logic */