mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-07-18 19:24:42 -04:00
Merge pull request #793 from juvester/unused-params
obs-ffmpeg, UI: Fix compiler warnings
This commit is contained in:
@@ -3184,6 +3184,7 @@ void OBSBasicSettings::on_filenameFormatting_textEdited(const QString &text)
|
||||
text.toStdString().find_first_of("<>:\"|?*");
|
||||
#else
|
||||
size_t invalidLocation = string::npos;
|
||||
UNUSED_PARAMETER(text);
|
||||
#endif
|
||||
|
||||
if (invalidLocation != string::npos)
|
||||
|
||||
@@ -485,6 +485,10 @@ static const char *replay_buffer_getname(void *type)
|
||||
static bool replay_buffer_hotkey(void *data, obs_hotkey_id id,
|
||||
obs_hotkey_t *hotkey, bool pressed)
|
||||
{
|
||||
UNUSED_PARAMETER(id);
|
||||
UNUSED_PARAMETER(hotkey);
|
||||
UNUSED_PARAMETER(pressed);
|
||||
|
||||
struct ffmpeg_muxer *stream = data;
|
||||
if (os_atomic_load_bool(&stream->active))
|
||||
stream->save_ts = os_gettime_ns() / 1000LL;
|
||||
|
||||
Reference in New Issue
Block a user