]> sigrok.org Git - libsigrok.git/blobdiff - hardware/link-mso19/protocol.c
Fix minor warning with some compilers.
[libsigrok.git] / 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"))