forked from enlightenment/efl
test_ui_relative_layout: fix maybe-uninitialized warning
Warning, which 'text' may be used uninitialized, is fixed.
This commit is contained in:
parent
3118bfc34b
commit
125b5c3191
|
@ -112,7 +112,7 @@ static void
|
||||||
_setter_add(Eo *vbox, Eo *btn, Options option)
|
_setter_add(Eo *vbox, Eo *btn, Options option)
|
||||||
{
|
{
|
||||||
Eo *to, *hbox;
|
Eo *to, *hbox;
|
||||||
char *text, *btn_text;
|
char *text = NULL, *btn_text;
|
||||||
double relative;
|
double relative;
|
||||||
|
|
||||||
switch (option)
|
switch (option)
|
||||||
|
|
Loading…
Reference in New Issue