1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-02 06:04:39 -04:00

Restored the previously suppressed __attribute__ unused in a portable way

This commit is contained in:
f4exb
2019-06-19 18:50:55 +02:00
parent 65f61dc620
commit 634723ae2c
30 changed files with 93 additions and 3 deletions
+6 -3
View File
@@ -74,10 +74,13 @@ PluginInterface::SamplingDevices TestMIPlugin::enumSampleMIMO()
#ifdef SERVER_MODE
PluginInstanceGUI* TestMIPlugin::createSampleMIMOPluginInstanceGUI(
const QString& sourceId __attribute((unused)),
QWidget **widget __attribute((unused)),
DeviceUISet *deviceUISet __attribute((unused)))
const QString& sourceId,
QWidget **widget,
DeviceUISet *deviceUISet)
{
(void) sourceId;
(void) widget;
(void) deviceUISet;
return 0;
}
#else