Remove majority of warnings

There were a *lot* of warnings, managed to remove most of them.

Also, put warning flags before C_FLAGS and CXX_FLAGS, rather than after,
as -Wall -Wextra was overwriting flags that came before it.
This commit is contained in:
jp9000
2014-02-14 15:13:36 -07:00
parent 4bc282f5e9
commit 966b943d5b
46 changed files with 625 additions and 344 deletions
+10
View File
@@ -413,6 +413,8 @@ void OBSBasicSettings::on_language_currentIndexChanged(int index)
{
if (!loading)
generalChanged = true;
UNUSED_PARAMETER(index);
}
void OBSBasicSettings::on_renderer_currentIndexChanged(int index)
@@ -422,22 +424,30 @@ void OBSBasicSettings::on_renderer_currentIndexChanged(int index)
ui->errorText->setText(
QTStr("Settings.ProgramRestart"));
}
UNUSED_PARAMETER(index);
}
void OBSBasicSettings::on_fpsType_currentIndexChanged(int index)
{
if (!loading)
videoChanged = true;
UNUSED_PARAMETER(index);
}
void OBSBasicSettings::on_baseResolution_editTextChanged(const QString &text)
{
if (!loading && ValidResolutions(ui.get()))
videoChanged = true;
UNUSED_PARAMETER(text);
}
void OBSBasicSettings::on_outputResolution_editTextChanged(const QString &text)
{
if (!loading && ValidResolutions(ui.get()))
videoChanged = true;
UNUSED_PARAMETER(text);
}