VideoCommon: Silence -Wmaybe-uninitialized warnings.

This commit is contained in:
Rohit Nirmal 2014-09-30 11:43:53 -04:00
parent 13fc8e7df1
commit ce8a4f5cc5
2 changed files with 2 additions and 1 deletions

View file

@ -424,7 +424,7 @@ void Fifo_UpdateWantDeterminism(bool want)
// We are paused (or not running at all yet) and have m_csHWVidOccupied, so
// it should be safe to change this.
const SCoreStartupParameter& param = SConfig::GetInstance().m_LocalCoreStartupParameter;
bool gpu_thread;
bool gpu_thread = false;
switch (param.m_GPUDeterminismMode)
{
case GPU_DETERMINISM_AUTO:

View file

@ -169,6 +169,7 @@ void Renderer::CalculateTargetScale(int x, int y, int &scaledX, int &scaledY)
bool Renderer::CalculateTargetSize(unsigned int framebuffer_width, unsigned int framebuffer_height)
{
int newEFBWidth, newEFBHeight;
newEFBWidth = newEFBHeight = 0;
// TODO: Ugly. Clean up
switch (s_LastEFBScale)