UI: Fix compiler warning when WIN32 is not defined

Fix unused parameter warning.
master
mvji 2022-04-19 20:47:37 +02:00 committed by Jim
parent a427d69d76
commit 80600c1c26
5 changed files with 10 additions and 0 deletions

View File

@ -197,6 +197,8 @@ bool OBSQTDisplay::nativeEvent(const QByteArray &, void *message, long *)
case WM_DISPLAYCHANGE:
OnDisplayChange();
}
#else
UNUSED_PARAMETER(message);
#endif
return false;

View File

@ -709,6 +709,8 @@ bool OBSBasicFilters::nativeEvent(const QByteArray &, void *message, long *)
display->OnDisplayChange();
}
}
#else
UNUSED_PARAMETER(message);
#endif
return false;

View File

@ -202,6 +202,8 @@ bool OBSBasicInteraction::nativeEvent(const QByteArray &, void *message, long *)
display->OnDisplayChange();
}
}
#else
UNUSED_PARAMETER(message);
#endif
return false;

View File

@ -4753,6 +4753,8 @@ bool OBSBasic::nativeEvent(const QByteArray &, void *message, long *)
display->OnDisplayChange();
}
}
#else
UNUSED_PARAMETER(message);
#endif
return false;

View File

@ -499,6 +499,8 @@ bool OBSBasicProperties::nativeEvent(const QByteArray &, void *message, long *)
display->OnDisplayChange();
}
}
#else
UNUSED_PARAMETER(message);
#endif
return false;