mirror of https://github.com/stella-emu/stella.git
Fixed minor warning for potential uninitialized variable.
This commit is contained in:
parent
1e7e4cbe20
commit
55111c4ccb
|
@ -1276,7 +1276,7 @@ void TIA::renderPixel(uInt32 x, uInt32 y)
|
||||||
{
|
{
|
||||||
if (x >= 160) return;
|
if (x >= 160) return;
|
||||||
|
|
||||||
uInt8 color;
|
uInt8 color = 0;
|
||||||
|
|
||||||
if (!myFrameManager.vblank())
|
if (!myFrameManager.vblank())
|
||||||
{
|
{
|
||||||
|
@ -1325,8 +1325,6 @@ void TIA::renderPixel(uInt32 x, uInt32 y)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
|
||||||
color = 0;
|
|
||||||
|
|
||||||
myFramebuffer[y * 160 + x] = color;
|
myFramebuffer[y * 160 + x] = color;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue