HostDev: Squelch unused warning

This commit is contained in:
Srivats P 2018-07-27 18:54:21 +05:30
parent 205663e59e
commit 1b74c55fee

View File

@ -35,6 +35,9 @@ public:
#ifdef Q_OS_WIN32
return new WindowsHostDevice(portName, deviceManager);
#else
(void)portName; // squelch unused warning
(void)deviceManager; // squelch unused warning
return nullptr;
#endif
}