Fix 'potentially uninitialized variable' warnings
This commit is contained in:
parent
3e5d486d24
commit
2e6063ce79
@ -1478,6 +1478,7 @@ void OBSBasic::StreamingStop(int code)
|
|||||||
errorMessage = Str("Output.ConnectFail.InvalidStream");
|
errorMessage = Str("Output.ConnectFail.InvalidStream");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
case OBS_OUTPUT_ERROR:
|
case OBS_OUTPUT_ERROR:
|
||||||
errorMessage = Str("Output.ConnectFail.Error");
|
errorMessage = Str("Output.ConnectFail.Error");
|
||||||
break;
|
break;
|
||||||
|
@ -563,7 +563,7 @@ void OBSBasicSettings::SaveVideoSettings()
|
|||||||
QString baseResolution = ui->baseResolution->currentText();
|
QString baseResolution = ui->baseResolution->currentText();
|
||||||
QString outputResolution = ui->outputResolution->currentText();
|
QString outputResolution = ui->outputResolution->currentText();
|
||||||
int fpsType = ui->fpsType->currentIndex();
|
int fpsType = ui->fpsType->currentIndex();
|
||||||
uint32_t cx, cy;
|
uint32_t cx = 0, cy = 0;
|
||||||
|
|
||||||
/* ------------------- */
|
/* ------------------- */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user