From: Uwe Hermann Date: Tue, 23 Apr 2013 20:54:02 +0000 (+0200) Subject: Fix minor warning with some compilers. X-Git-Tag: dsupstream~79 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=31e537725096d578e12923b811d2da79187363e4;p=libsigrok.git Fix minor warning with some compilers. --- diff --git a/hardware/link-mso19/protocol.c b/hardware/link-mso19/protocol.c index fd9c0130..19840efb 100644 --- a/hardware/link-mso19/protocol.c +++ b/hardware/link-mso19/protocol.c @@ -215,7 +215,8 @@ SR_PRIV int mso_parse_serial(const char *iSerial, const char *iProduct, { unsigned int u1, u2, u3, u4, u5, u6; - iProduct = iProduct; + (void)iProduct; + /* FIXME: This code is in the original app, but I think its * used only for the GUI */ /* if (strstr(iProduct, "REV_02") || strstr(iProduct, "REV_03"))