test_ui_relative_layout: fix maybe-uninitialized warning

Warning, which 'text' may be used uninitialized, is fixed.
This commit is contained in:
Jaehyun Cho 2019-02-22 20:00:14 +09:00
parent 3118bfc34b
commit 125b5c3191
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ static void
_setter_add(Eo *vbox, Eo *btn, Options option)
{
Eo *to, *hbox;
char *text, *btn_text;
char *text = NULL, *btn_text;
double relative;
switch (option)