]> sigrok.org Git - libsigrok.git/commitdiff
Fix minor warning with some compilers.
authorUwe Hermann <redacted>
Tue, 23 Apr 2013 20:54:02 +0000 (22:54 +0200)
committerUwe Hermann <redacted>
Tue, 23 Apr 2013 20:54:02 +0000 (22:54 +0200)
hardware/link-mso19/protocol.c

index fd9c0130975070b623f2cbb721309d0913a2db63..19840efb8aa95cf96c9514abb5780c89bb522d61 100644 (file)
@@ -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"))