UI: Remove UNUSED_PARAMETER where unnecessary
Since cpp allows removing the unused parameters from the function name, UNUSED_PARAMETER is not needed, unless it is in an ifdef.
This commit is contained in:
parent
b2a83a3145
commit
3a610c698e
24 changed files with 93 additions and 225 deletions
|
|
@ -278,12 +278,10 @@ static void CreateTransitionScene(OBSSource scene, const char *text,
|
|||
obs_sceneitem_set_bounds_type(item, OBS_BOUNDS_SCALE_INNER);
|
||||
}
|
||||
|
||||
void OBSBasicProperties::SourceRemoved(void *data, calldata_t *params)
|
||||
void OBSBasicProperties::SourceRemoved(void *data, calldata_t *)
|
||||
{
|
||||
QMetaObject::invokeMethod(static_cast<OBSBasicProperties *>(data),
|
||||
"close");
|
||||
|
||||
UNUSED_PARAMETER(params);
|
||||
}
|
||||
|
||||
void OBSBasicProperties::SourceRenamed(void *data, calldata_t *params)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue