Merge pull request #793 from juvester/unused-params
obs-ffmpeg, UI: Fix compiler warnings
This commit is contained in:
commit
da1fddbd84
2 changed files with 5 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue