summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWoochanlee <wc0917.lee@samsung.com>2020-09-01 21:02:57 +0900
committerHermet Park <chuneon.park@samsung.com>2020-09-01 21:02:57 +0900
commit8198345e1f703e15bbd7b35cd0056285a25c9071 (patch)
treece5a81f13c125bbae23a6a322d5edf70c976c53a
parentd5d7c553021026dc870aa6ad79179b351674e7e0 (diff)
edje_cc: Fix uninitialized scalar variable
Summary: mo_path can using for fprintf in using_file function without initialize. fix coverity. Reviewers: Hermet, raster Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12120
-rw-r--r--src/bin/edje/edje_cc_out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/edje/edje_cc_out.c b/src/bin/edje/edje_cc_out.c
index d5060bbf5c..c2bfb82fd1 100644
--- a/src/bin/edje/edje_cc_out.c
+++ b/src/bin/edje/edje_cc_out.c
@@ -1717,7 +1717,7 @@ data_thread_mo(void *data, Ecore_Thread *thread EINA_UNUSED)
1717 Eina_List *ll; 1717 Eina_List *ll;
1718 1718
1719 char *dir_path = NULL; 1719 char *dir_path = NULL;
1720 char mo_path[PATH_MAX]; 1720 char mo_path[PATH_MAX] = {0};
1721 char moid_str[50]; 1721 char moid_str[50];
1722 Eina_File *f = NULL; 1722 Eina_File *f = NULL;
1723 void *m = NULL; 1723 void *m = NULL;