Merge pull request #793 from juvester/unused-params

obs-ffmpeg, UI: Fix compiler warnings
This commit is contained in:
Jim 2017-02-25 02:35:46 -08:00 • committed by GitHub
commit da1fddbd84
2 changed files with 5 additions and 0 deletions

View file

@ -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)