mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-11-26 04:31:34 +08:00
Fix (maybe uninitialized) on weak compilers.
This commit is contained in:
parent
a8fdfafe6a
commit
1f1229564a
@ -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_;
|
||||
|
Loading…
Reference in New Issue
Block a user