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
This commit is contained in:
Woochanlee 2020-09-01 21:02:57 +09:00 committed by Hermet Park
parent d5d7c55302
commit 8198345e1f
1 changed files with 1 additions and 1 deletions

View File

@ -1717,7 +1717,7 @@ data_thread_mo(void *data, Ecore_Thread *thread EINA_UNUSED)
Eina_List *ll;
char *dir_path = NULL;
char mo_path[PATH_MAX];
char mo_path[PATH_MAX] = {0};
char moid_str[50];
Eina_File *f = NULL;
void *m = NULL;