fixed warnings in rtgui

This commit is contained in:
Alberto Griggio
2017-04-01 15:55:39 +02:00
parent 94685212b0
commit 6fe04e3990
25 changed files with 23 additions and 34 deletions

View File

@@ -72,7 +72,7 @@ void LWButtonSet::arrangeButtons (int x, int y, int w, int h)
for (size_t i = 0; i < buttons.size(); i++) {
LWButton::Alignment halign, valign;
int bx, by, bw, bh;
int bx = 0, by = 0, bw = 0, bh = 0;
buttons[i]->getSize (bw, bh);
buttons[i]->getAlignment (halign, valign);