summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorJunsuChoi <jsuya.choi@samsung.com>2020-02-26 16:33:21 +0900
committerHermet Park <hermetpark@gmail.com>2020-02-26 16:33:26 +0900
commit7d4bcd6da17c6f398338f5704743682d038e5dfa (patch)
treec7a48b1316c39a4f8b271b189edd7fc69e4c582a /src/bin
parent03ed41517cb39e33807822fd48255e4393970e47 (diff)
elementary_test/ui_spotlight: Fix warnings about use to uninitialized value.
Summary: remove warnings. ../src/bin/elementary/test_ui_spotlight.c:1126:9: warning: 'view' may be used uninitialized in this function [-Wmaybe-uninitialized] ... Test Plan: N/A Reviewers: YOhoho, Hermet, Jaehyun_Cho Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11418
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/elementary/test_ui_spotlight.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/elementary/test_ui_spotlight.c b/src/bin/elementary/test_ui_spotlight.c
index cf52bb750a..1d0837d9db 100644
--- a/src/bin/elementary/test_ui_spotlight.c
+++ b/src/bin/elementary/test_ui_spotlight.c
@@ -849,7 +849,7 @@ test_ui_spotlight_stack(void *data EINA_UNUSED,
849 Evas_Object *obj EINA_UNUSED, 849 Evas_Object *obj EINA_UNUSED,
850 void *event_info EINA_UNUSED) 850 void *event_info EINA_UNUSED)
851{ 851{
852 Eo *win, *panes, *navi, *list, *layout, *spotlight, *view; 852 Eo *win, *panes, *navi, *list, *layout, *spotlight, *view = NULL;
853 Params *params = NULL; 853 Params *params = NULL;
854 char buf[PATH_MAX]; 854 char buf[PATH_MAX];
855 int i; 855 int i;
@@ -945,7 +945,7 @@ test_ui_spotlight_plain(void *data EINA_UNUSED,
945 Evas_Object *obj EINA_UNUSED, 945 Evas_Object *obj EINA_UNUSED,
946 void *event_info EINA_UNUSED) 946 void *event_info EINA_UNUSED)
947{ 947{
948 Eo *win, *panes, *navi, *list, *layout, *spotlight, *view; 948 Eo *win, *panes, *navi, *list, *layout, *spotlight, *view = NULL;
949 Params *params = NULL; 949 Params *params = NULL;
950 char buf[PATH_MAX]; 950 char buf[PATH_MAX];
951 int i; 951 int i;
@@ -1039,7 +1039,7 @@ test_ui_spotlight_scroll(void *data EINA_UNUSED,
1039 Evas_Object *obj EINA_UNUSED, 1039 Evas_Object *obj EINA_UNUSED,
1040 void *event_info EINA_UNUSED) 1040 void *event_info EINA_UNUSED)
1041{ 1041{
1042 Eo *win, *panes, *navi, *list, *layout, *spotlight, *view; 1042 Eo *win, *panes, *navi, *list, *layout, *spotlight, *view = NULL;
1043 Params *params = NULL; 1043 Params *params = NULL;
1044 char buf[PATH_MAX]; 1044 char buf[PATH_MAX];
1045 int i; 1045 int i;