Fix (maybe uninitialized) on weak compilers.

This commit is contained in:
ArthurSonzogni 2020-02-11 22:34:01 +01:00
parent a8fdfafe6a
commit 1f1229564a

View File

@ -144,8 +144,8 @@ void ScreenInteractive::Loop(Component* component) {
void ScreenInteractive::Draw(Component* component) {
auto document = component->Render();
int dimx;
int dimy;
int dimx = 0;
int dimy = 0;
switch (dimension_) {
case Dimension::Fixed:
dimx = dimx_;