Fix unused warnings on ming build.
diff --git a/fpgautils.c b/fpgautils.c
index de9d93e..4c5829a 100644
--- a/fpgautils.c
+++ b/fpgautils.c
@@ -74,7 +74,7 @@ int serial_autodetect_udev(__maybe_unused detectone_func_t detectone, __maybe_un
}
#endif
-int serial_autodetect_devserial(detectone_func_t detectone, const char*prodname)
+int serial_autodetect_devserial(__maybe_unused detectone_func_t detectone, __maybe_unused const char*prodname)
{
#ifndef WIN32
DIR *D;