forked from enlightenment/efl
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:
parent
d5d7c55302
commit
8198345e1f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue