summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaehyun Cho <jae_hyun.cho@samsung.com>2019-02-22 20:00:14 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2019-02-22 20:00:14 +0900
commit125b5c3191fd34cde51e48e5828571671942b9c7 (patch)
treeb450cf1bdd19f66e9cc7a6df5ec189364aa06a19 /src
parent3118bfc34bb97b01a0cdb0caf674aaf3fc20565c (diff)
test_ui_relative_layout: fix maybe-uninitialized warning
Warning, which 'text' may be used uninitialized, is fixed.
Diffstat (limited to 'src')
-rw-r--r--src/bin/elementary/test_ui_relative_layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/elementary/test_ui_relative_layout.c b/src/bin/elementary/test_ui_relative_layout.c
index 9cb8b168c7..24546cad14 100644
--- a/src/bin/elementary/test_ui_relative_layout.c
+++ b/src/bin/elementary/test_ui_relative_layout.c
@@ -112,7 +112,7 @@ static void
112_setter_add(Eo *vbox, Eo *btn, Options option) 112_setter_add(Eo *vbox, Eo *btn, Options option)
113{ 113{
114 Eo *to, *hbox; 114 Eo *to, *hbox;
115 char *text, *btn_text; 115 char *text = NULL, *btn_text;
116 double relative; 116 double relative;
117 117
118 switch (option) 118 switch (option)